summaryrefslogtreecommitdiff
path: root/examples/IPC_SAP/SSL_SAP/SSL-client.cpp
diff options
context:
space:
mode:
authorjohn_c <john_c@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2006-05-08 23:00:05 +0000
committerjohn_c <john_c@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2006-05-08 23:00:05 +0000
commitd1160e68b1301a8b0e120ba8da56bb2e7d4fb49e (patch)
treecf04398acb7ad9fb45311eb105d60975028bbc03 /examples/IPC_SAP/SSL_SAP/SSL-client.cpp
parent1c3dd540264435be21072a3a69a8a8e969bd2b1a (diff)
downloadATCD-oci_wchar_refactor_post_1_5_1_branch.tar.gz
Fri May 5 14:33:29 UTC 2006 Ciju John <john_c@ociweb.com>oci_wchar_refactor_post_1_5_1_branch
Diffstat (limited to 'examples/IPC_SAP/SSL_SAP/SSL-client.cpp')
-rw-r--r--examples/IPC_SAP/SSL_SAP/SSL-client.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/IPC_SAP/SSL_SAP/SSL-client.cpp b/examples/IPC_SAP/SSL_SAP/SSL-client.cpp
index 539b97c931c..7ab033550d1 100644
--- a/examples/IPC_SAP/SSL_SAP/SSL-client.cpp
+++ b/examples/IPC_SAP/SSL_SAP/SSL-client.cpp
@@ -110,7 +110,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:T:"), 1);
+ ACE_Get_Arg_Opt<ACE_TCHAR> getopt (argc, argv, ACE_TEXT ("2h:i:m:p:q:st:T:"), 1);
for (int c; (c = getopt ()) != -1; )
switch (c)
@@ -132,7 +132,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':