diff options
Diffstat (limited to 'TAO/tests/RTCORBA/Client_Protocol/client.cpp')
-rw-r--r-- | TAO/tests/RTCORBA/Client_Protocol/client.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/TAO/tests/RTCORBA/Client_Protocol/client.cpp b/TAO/tests/RTCORBA/Client_Protocol/client.cpp index d5d56cc5d92..e4375ae41cd 100644 --- a/TAO/tests/RTCORBA/Client_Protocol/client.cpp +++ b/TAO/tests/RTCORBA/Client_Protocol/client.cpp @@ -20,13 +20,13 @@ parse_args (int argc, char *argv[]) switch (c) { case 's': - ior1 = get_opts.optarg; + ior1 = get_opts.opt_arg (); break; case 'c': - ior2 = get_opts.optarg; + ior2 = get_opts.opt_arg (); break; case 'p': - result = ::sscanf (get_opts.optarg, + result = ::sscanf (get_opts.opt_arg (), "%u", &protocol_type); if (result == 0 || result == EOF) |