diff options
Diffstat (limited to 'examples/Connection/blocking/SPIPE-acceptor.cpp')
-rw-r--r-- | examples/Connection/blocking/SPIPE-acceptor.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/Connection/blocking/SPIPE-acceptor.cpp b/examples/Connection/blocking/SPIPE-acceptor.cpp index a94e9cb441b..ba65d3d7101 100644 --- a/examples/Connection/blocking/SPIPE-acceptor.cpp +++ b/examples/Connection/blocking/SPIPE-acceptor.cpp @@ -77,7 +77,7 @@ IPC_Server::init (int argc, char *argv[]) ACE_DEBUG ((LM_DEBUG, "Opening %s\n", - ACE_MULTIBYTE_STRING (rendezvous_))); + rendezvous_)); // Initialize named pipe listener. if (this->open (ACE_SPIPE_Addr (rendezvous_)) == -1) @@ -113,8 +113,8 @@ IPC_Server::parse_args (int argc, char *argv[]) { case 'r': ACE_OS::strncpy (rendezvous_, - ACE_WIDE_STRING (get_opt.optarg), - sizeof rendezvous_ / sizeof TCHAR); + ACE_TEXT_CHAR_TO_TCHAR (get_opt.optarg), + sizeof rendezvous_ / sizeof ACE_TCHAR); break; case 't': n_threads_ = ACE_OS::atoi (get_opt.optarg); |