summaryrefslogtreecommitdiff
path: root/examples/IPC_SAP/SSL_SAP/SSL-client-simple.cpp
diff options
context:
space:
mode:
authorschmidt <douglascraigschmidt@users.noreply.github.com>2001-12-26 15:46:44 +0000
committerschmidt <douglascraigschmidt@users.noreply.github.com>2001-12-26 15:46:44 +0000
commit0bc80fab4dc53994efbd511b22b0c86d59baff8c (patch)
tree3e074e160a2e59a236f10781cfcb0e071b49fac8 /examples/IPC_SAP/SSL_SAP/SSL-client-simple.cpp
parentcde21c2507ace716fc833231662ff0f85ff13f5a (diff)
downloadATCD-0bc80fab4dc53994efbd511b22b0c86d59baff8c.tar.gz
ChangeLogTag:Wed Dec 26 09:07:45 2001 Douglas C. Schmidt <schmidt@ace.cs.wustl.edu>
Diffstat (limited to 'examples/IPC_SAP/SSL_SAP/SSL-client-simple.cpp')
-rw-r--r--examples/IPC_SAP/SSL_SAP/SSL-client-simple.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/examples/IPC_SAP/SSL_SAP/SSL-client-simple.cpp b/examples/IPC_SAP/SSL_SAP/SSL-client-simple.cpp
index f82b930dd10..b998c1322a5 100644
--- a/examples/IPC_SAP/SSL_SAP/SSL-client-simple.cpp
+++ b/examples/IPC_SAP/SSL_SAP/SSL-client-simple.cpp
@@ -107,25 +107,25 @@ Options::parse_args (int argc, char *argv[])
this->oneway_ = 0;
break;
case 'h':
- this->host_ = getopt.optarg;
+ this->host_ = getopt.opt_arg ();
break;
case 'i':
- this->iterations_ = ACE_OS::atoi (getopt.optarg);
+ this->iterations_ = ACE_OS::atoi (getopt.opt_arg ());
break;
case 'm':
- this->message_len_ = ACE_OS::atoi (getopt.optarg);
+ this->message_len_ = ACE_OS::atoi (getopt.opt_arg ());
break;
case 'p':
- this->port_ = ACE_OS::atoi (getopt.optarg);
+ this->port_ = ACE_OS::atoi (getopt.opt_arg ());
break;
case 'q':
- this->quit_string_ = getopt.optarg;
+ this->quit_string_ = getopt.opt_arg ();
break;
case 's':
this->io_source_ = ACE_STDIN;
break;
case 'T':
- this->sleep_time_.set (0, ACE_OS::atoi (getopt.optarg));
+ this->sleep_time_.set (0, ACE_OS::atoi (getopt.opt_arg ()));
break;
default:
ACE_ERROR_RETURN ((LM_ERROR,