summaryrefslogtreecommitdiff
path: root/TAO/examples/AMH/Sink_Server/Base_Server.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 /TAO/examples/AMH/Sink_Server/Base_Server.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 'TAO/examples/AMH/Sink_Server/Base_Server.cpp')
-rw-r--r--TAO/examples/AMH/Sink_Server/Base_Server.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/TAO/examples/AMH/Sink_Server/Base_Server.cpp b/TAO/examples/AMH/Sink_Server/Base_Server.cpp
index b1a722b18d8..33cb662f799 100644
--- a/TAO/examples/AMH/Sink_Server/Base_Server.cpp
+++ b/TAO/examples/AMH/Sink_Server/Base_Server.cpp
@@ -43,7 +43,7 @@ Base_Server::parse_args (void)
{
// *** To get correct behaviour, set ** POSIXLY_CORECT=1 ** on Linux
// systems!!! ***
- ACE_Get_Opt get_opts (this->argc_, this->argv_, "o:");
+ ACE_Get_Arg_Opt<char> get_opts (this->argc_, this->argv_, "o:");
int c;
int count_argv = 0;
@@ -210,7 +210,7 @@ Base_Server::write_ior_to_file (const char * ior)
{
// If the ior_output_file exists, output the ior to it
FILE *output_file =
- ACE_OS::fopen (this->ior_output_file_, "w");
+ ACE_OS::fopen (this->ior_output_file_, ACE_TEXT("w"));
if (output_file == 0)
{