summaryrefslogtreecommitdiff
path: root/examples/IPC_SAP/SSL_SAP/SSL-client-simple.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/IPC_SAP/SSL_SAP/SSL-client-simple.cpp')
-rw-r--r--examples/IPC_SAP/SSL_SAP/SSL-client-simple.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/IPC_SAP/SSL_SAP/SSL-client-simple.cpp b/examples/IPC_SAP/SSL_SAP/SSL-client-simple.cpp
index 31f76d4826a..e6778984b40 100644
--- a/examples/IPC_SAP/SSL_SAP/SSL-client-simple.cpp
+++ b/examples/IPC_SAP/SSL_SAP/SSL-client-simple.cpp
@@ -105,7 +105,7 @@ Options::read (void *buf, size_t len, size_t &iteration)
int
Options::parse_args (int argc, ACE_TCHAR *argv[])
{
- ACE_Get_Opt getopt (argc, argv, ACE_TEXT ("2h:i:m:p:q:sT:"), 1);
+ ACE_Get_Arg_Opt<ACE_TCHAR> getopt (argc, argv, ACE_TEXT ("2h:i:m:p:q:sT:"), 1);
for (int c; (c = getopt ()) != -1; )
switch (c)
@@ -127,7 +127,7 @@ Options::parse_args (int argc, ACE_TCHAR *argv[])
break;
case 'q':
ACE_OS::strncpy (this->quit_string_,
- ACE_TEXT_ALWAYS_CHAR (getopt.opt_arg ()),
+ ACE_TEXT_TO_CHAR_IN (getopt.opt_arg ()),
QUIT_STRING_SIZE);
break;
case 's':