summaryrefslogtreecommitdiff
path: root/cpp/test/IceGrid/session/Server.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/test/IceGrid/session/Server.cpp')
-rw-r--r--cpp/test/IceGrid/session/Server.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/test/IceGrid/session/Server.cpp b/cpp/test/IceGrid/session/Server.cpp
index 86f20e32b97..0c00bac31dd 100644
--- a/cpp/test/IceGrid/session/Server.cpp
+++ b/cpp/test/IceGrid/session/Server.cpp
@@ -21,7 +21,7 @@ public:
virtual bool
checkPermissions(const string& userId, const string& passwd, string&, const Ice::Current&) const
{
- return userId == "client1" && passwd == "test1" || userId == "client2" && passwd == "test2";
+ return (userId == "client1" && passwd == "test1") || (userId == "client2" && passwd == "test2");
}
};