diff options
Diffstat (limited to 'TAO/examples/POA/DSI')
-rw-r--r-- | TAO/examples/POA/DSI/client.cpp | 4 | ||||
-rw-r--r-- | TAO/examples/POA/DSI/server.cpp | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/TAO/examples/POA/DSI/client.cpp b/TAO/examples/POA/DSI/client.cpp index 57f7ca35020..1d8950ce093 100644 --- a/TAO/examples/POA/DSI/client.cpp +++ b/TAO/examples/POA/DSI/client.cpp @@ -35,11 +35,11 @@ parse_args (int argc, char **argv) switch (c) { case 'k': - IOR = ACE_OS::strdup (get_opts.optarg); + IOR = ACE_OS::strdup (get_opts.opt_arg ()); break; case 'f': - IOR_file = get_opts.optarg; + IOR_file = get_opts.opt_arg (); break; case 'x': diff --git a/TAO/examples/POA/DSI/server.cpp b/TAO/examples/POA/DSI/server.cpp index f7f099adf60..54fa21c0aaf 100644 --- a/TAO/examples/POA/DSI/server.cpp +++ b/TAO/examples/POA/DSI/server.cpp @@ -32,7 +32,7 @@ parse_args (int argc, char **argv) switch (c) { case 'f': - ior_output_file = get_opts.optarg; + ior_output_file = get_opts.opt_arg (); break; case '?': default: |