summaryrefslogtreecommitdiff
path: root/performance-tests/RPC/client.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'performance-tests/RPC/client.cpp')
-rw-r--r--performance-tests/RPC/client.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/performance-tests/RPC/client.cpp b/performance-tests/RPC/client.cpp
index 440b623470e..b0f4a476600 100644
--- a/performance-tests/RPC/client.cpp
+++ b/performance-tests/RPC/client.cpp
@@ -20,11 +20,11 @@ int main (int argc, char* argv[])
switch ((char) c)
{
case 'h':
- host = getopt.optarg;
+ host = getopt.opt_arg ();
break;
case 'i':
- nsamples = ACE_OS::atoi (getopt.optarg);
+ nsamples = ACE_OS::atoi (getopt.opt_arg ());
break;
}
}