diff options
Diffstat (limited to 'orbsvcs/tests/ImplRepo/ReconnectServer/serverB.cpp')
-rwxr-xr-x | orbsvcs/tests/ImplRepo/ReconnectServer/serverB.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/orbsvcs/tests/ImplRepo/ReconnectServer/serverB.cpp b/orbsvcs/tests/ImplRepo/ReconnectServer/serverB.cpp index 2049cc94590..06f6c1fe2a2 100755 --- a/orbsvcs/tests/ImplRepo/ReconnectServer/serverB.cpp +++ b/orbsvcs/tests/ImplRepo/ReconnectServer/serverB.cpp @@ -4,7 +4,7 @@ #include "tao/ImR_Client/ImR_Client.h" #include <ace/Task.h> #include <ace/Get_Opt.h> -#include <ace/OS.h> +#include "ace/OS_NS_unistd.h" const ACE_TCHAR * ior_output_file = ACE_TEXT ("serverB.ior"); // server_notify_delay between resolving RootPOA init ref and create_POA. @@ -35,7 +35,7 @@ parse_args (int argc, ACE_TCHAR *argv[]) argv [0]), -1); } - + return 0; } @@ -64,7 +64,7 @@ ACE_TMAIN(int argc, ACE_TCHAR *argv[]) rootPOA->the_POAManager (); CORBA::PolicyList policies (5); - policies.length (5); + policies.length (5); // Lifespan policy policies[0] = @@ -131,7 +131,7 @@ ACE_TMAIN(int argc, ACE_TCHAR *argv[]) rootPOA->destroy (1, 1); orb->destroy (); } - catch (const CORBA::Exception &ex) + catch (const CORBA::Exception &ex) { ex._tao_print_exception ("Exception caught by serverB:"); return 1; |