summaryrefslogtreecommitdiff
path: root/cpp/test/IceStorm/single/Subscriber.cpp
diff options
context:
space:
mode:
authorMarc Laukien <marc@zeroc.com>2002-06-23 21:17:04 +0000
committerMarc Laukien <marc@zeroc.com>2002-06-23 21:17:04 +0000
commit59788b8663f1f05a95b7afbbc6d2846dae11c96a (patch)
treec3ed292df270f11157decb83827d9af4144db52d /cpp/test/IceStorm/single/Subscriber.cpp
parentfile run.py was initially added on branch location. (diff)
downloadice-59788b8663f1f05a95b7afbbc6d2846dae11c96a.tar.bz2
ice-59788b8663f1f05a95b7afbbc6d2846dae11c96a.tar.xz
ice-59788b8663f1f05a95b7afbbc6d2846dae11c96a.zip
removed spaces after keywords
Diffstat (limited to 'cpp/test/IceStorm/single/Subscriber.cpp')
-rw-r--r--cpp/test/IceStorm/single/Subscriber.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/cpp/test/IceStorm/single/Subscriber.cpp b/cpp/test/IceStorm/single/Subscriber.cpp
index 2b3ce84f898..0a7cb0aeaea 100644
--- a/cpp/test/IceStorm/single/Subscriber.cpp
+++ b/cpp/test/IceStorm/single/Subscriber.cpp
@@ -34,7 +34,7 @@ public:
virtual void event(const Current&)
{
++_count;
- if (_count == 10)
+ if(_count == 10)
{
_communicator->shutdown();
}
@@ -73,7 +73,7 @@ run(int argc, char* argv[], const CommunicatorPtr& communicator)
string lockfile = "subscriber.lock";
- if (argc != 1)
+ if(argc != 1)
{
lockfile = argv[1];
}
@@ -81,7 +81,7 @@ run(int argc, char* argv[], const CommunicatorPtr& communicator)
const char* managerEndpointsProperty = "IceStorm.TopicManager.Endpoints";
string managerEndpoints = properties->getProperty(managerEndpointsProperty);
- if (managerEndpoints.empty())
+ if(managerEndpoints.empty())
{
cerr << argv[0] << ": property `" << managerEndpointsProperty << "' is not set" << endl;
return EXIT_FAILURE;
@@ -89,7 +89,7 @@ run(int argc, char* argv[], const CommunicatorPtr& communicator)
ObjectPrx base = communicator->stringToProxy("TopicManager:" + managerEndpoints);
IceStorm::TopicManagerPrx manager = IceStorm::TopicManagerPrx::checkedCast(base);
- if (!manager)
+ if(!manager)
{
cerr << argv[0] << ": `" << managerEndpoints << "' is not running" << endl;
return EXIT_FAILURE;
@@ -137,7 +137,7 @@ main(int argc, char* argv[])
status = EXIT_FAILURE;
}
- if (communicator)
+ if(communicator)
{
try
{