diff options
Diffstat (limited to 'TAO/performance-tests/Cubit/TAO/MT_Cubit/client.cpp')
-rw-r--r-- | TAO/performance-tests/Cubit/TAO/MT_Cubit/client.cpp | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/TAO/performance-tests/Cubit/TAO/MT_Cubit/client.cpp b/TAO/performance-tests/Cubit/TAO/MT_Cubit/client.cpp index 504159349e3..8910b456ac2 100644 --- a/TAO/performance-tests/Cubit/TAO/MT_Cubit/client.cpp +++ b/TAO/performance-tests/Cubit/TAO/MT_Cubit/client.cpp @@ -572,9 +572,16 @@ Client_i::start_servant (void) { char high_thread_args[BUFSIZ]; + static char hostname[BUFSIZ]; + + if (ACE_OS::hostname (hostname, BUFSIZ) != 0) + ACE_ERROR_RETURN ((LM_ERROR, + "%p\n", + "hostname"), + -1); ACE_OS::sprintf (high_thread_args, - "-ORBSndSock 32768 " - "-ORBRcvSock 32768 "); + "-ORBsndsock 32768 " + "-ORBrcvsock 32768 "); Cubit_Task *high_priority_task; |