summaryrefslogtreecommitdiff
path: root/examples/Service_Configurator/IPC-tests/client/remote_dgram_client_test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/Service_Configurator/IPC-tests/client/remote_dgram_client_test.cpp')
-rw-r--r--examples/Service_Configurator/IPC-tests/client/remote_dgram_client_test.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/Service_Configurator/IPC-tests/client/remote_dgram_client_test.cpp b/examples/Service_Configurator/IPC-tests/client/remote_dgram_client_test.cpp
index e5bec64d8c6..26ece126384 100644
--- a/examples/Service_Configurator/IPC-tests/client/remote_dgram_client_test.cpp
+++ b/examples/Service_Configurator/IPC-tests/client/remote_dgram_client_test.cpp
@@ -37,7 +37,7 @@ parse_args (int argc, ACE_TCHAR *argv[])
{
program_name = argv[0];
- ACE_Get_Opt get_opt (argc, argv, ACE_TEXT("f:h:p:"));
+ ACE_Get_Arg_Opt<ACE_TCHAR> get_opt (argc, argv, ACE_TEXT("f:h:p:"));
for (int c; (c = get_opt ()) != -1; )
switch (c)
@@ -63,7 +63,7 @@ ACE_TMAIN (int argc, ACE_TCHAR *argv[])
parse_args (argc, argv);
ACE_SOCK_Dgram sd (ACE_Addr::sap_any);
- void *cp = 0;
+ void *cp;
ACE_INET_Addr sa (port_number, host_name);
ACE_Mem_Map mmap (file_name);