summaryrefslogtreecommitdiff
path: root/cpp/test/IceUtil/ctrlCHandler/Client.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/test/IceUtil/ctrlCHandler/Client.cpp')
-rw-r--r--cpp/test/IceUtil/ctrlCHandler/Client.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/cpp/test/IceUtil/ctrlCHandler/Client.cpp b/cpp/test/IceUtil/ctrlCHandler/Client.cpp
index 7f838b69eee..a71a95dba6c 100644
--- a/cpp/test/IceUtil/ctrlCHandler/Client.cpp
+++ b/cpp/test/IceUtil/ctrlCHandler/Client.cpp
@@ -23,13 +23,13 @@ void callback(int signal)
int main()
{
{
- cout << "First ignore CTRL+C and the like for 10 seconds (try it!)" << endl;
- CtrlCHandler handler;
- ThreadControl::sleep(Time::seconds(10));
-
- cout << "Then handling them for another 30 seconds (try it)" << endl;
- handler.setCallback(callback);
- ThreadControl::sleep(Time::seconds(10));
+ cout << "First ignore CTRL+C and the like for 10 seconds (try it!)" << endl;
+ CtrlCHandler handler;
+ ThreadControl::sleep(Time::seconds(10));
+
+ cout << "Then handling them for another 30 seconds (try it)" << endl;
+ handler.setCallback(callback);
+ ThreadControl::sleep(Time::seconds(10));
}
cout << "And another 10 seconds after ~CtrlCHandler" << endl;
ThreadControl::sleep(Time::seconds(10));