summaryrefslogtreecommitdiff
path: root/cpp/src/IcePack/Server.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/IcePack/Server.cpp')
-rw-r--r--cpp/src/IcePack/Server.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/cpp/src/IcePack/Server.cpp b/cpp/src/IcePack/Server.cpp
index 2bec82292cb..c8e0f966372 100644
--- a/cpp/src/IcePack/Server.cpp
+++ b/cpp/src/IcePack/Server.cpp
@@ -44,7 +44,7 @@ run(int argc, char* argv[], CommunicatorPtr communicator)
cout << ICE_STRING_VERSION << endl;
return EXIT_SUCCESS;
}
- else if(strcmp(argv[i], "--nowarn") == 0)
+ else if (strcmp(argv[i], "--nowarn") == 0)
{
nowarn = true;
}
@@ -59,13 +59,13 @@ run(int argc, char* argv[], CommunicatorPtr communicator)
PropertiesPtr properties = communicator->getProperties();
string adminEndpoints = properties->getProperty("Ice.Adapter.Admin.Endpoints");
- if(adminEndpoints.length() != 0 && !nowarn)
+ if (adminEndpoints.length() != 0 && !nowarn)
{
cerr << argv[0] << ": warning: administrative endpoints `Ice.Adapter.Admin.Endpoints' enabled" << endl;
}
string forwardEndpoints = properties->getProperty("Ice.Adapter.Forward.Endpoints");
- if(forwardEndpoints.length() == 0)
+ if (forwardEndpoints.length() == 0)
{
cerr << argv[0] << ": `Ice.Adapter.Forward.Endpoints' property is not set" << endl;
return EXIT_FAILURE;