summaryrefslogtreecommitdiff
path: root/examples/Reactor/Ntalker/ntalker.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/Reactor/Ntalker/ntalker.cpp')
-rw-r--r--examples/Reactor/Ntalker/ntalker.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/Reactor/Ntalker/ntalker.cpp b/examples/Reactor/Ntalker/ntalker.cpp
index 6b0038289de..e114876cfcb 100644
--- a/examples/Reactor/Ntalker/ntalker.cpp
+++ b/examples/Reactor/Ntalker/ntalker.cpp
@@ -186,7 +186,7 @@ parse_args (int argc, ACE_TCHAR *argv[])
switch (c)
{
case 'i':
- INTERFACE = get_opt.optarg;
+ INTERFACE = get_opt.opt_arg ();
break;
case 'u':
// Usage fallthrough.