diff options
| author | Johnny Willemsen <jwillemsen@remedy.nl> | 2009-12-30 11:43:30 +0000 |
|---|---|---|
| committer | Johnny Willemsen <jwillemsen@remedy.nl> | 2009-12-30 11:43:30 +0000 |
| commit | bb1c4fca639802716f1f76aac2bca8caa092cc87 (patch) | |
| tree | e79fbddd3dc7b0a25ab8b4a01ce67e69190e4006 /TAO/DevGuideExamples/Multithreading/ThreadPerConnection | |
| parent | 6125b8694fd48c54d357aa44b454a1e3661f5b4a (diff) | |
| download | ATCD-bb1c4fca639802716f1f76aac2bca8caa092cc87.tar.gz | |
Diffstat (limited to 'TAO/DevGuideExamples/Multithreading/ThreadPerConnection')
| -rw-r--r-- | TAO/DevGuideExamples/Multithreading/ThreadPerConnection/MessengerServer.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/TAO/DevGuideExamples/Multithreading/ThreadPerConnection/MessengerServer.cpp b/TAO/DevGuideExamples/Multithreading/ThreadPerConnection/MessengerServer.cpp index 7ae5fe8bb1a..ec9426a9ad5 100644 --- a/TAO/DevGuideExamples/Multithreading/ThreadPerConnection/MessengerServer.cpp +++ b/TAO/DevGuideExamples/Multithreading/ThreadPerConnection/MessengerServer.cpp @@ -61,12 +61,12 @@ int ACE_TMAIN (int argc, ACE_TCHAR *argv[]) CORBA::String_var str = orb->object_to_string( messenger_obj.in() ); // Output the IOR to the <ior_output_file> - FILE *output_file= ACE_OS::fopen (ior_output_file, "w"); - if (output_file == 0) - ACE_ERROR_RETURN ((LM_ERROR, - "Cannot open output file for writing IOR: %s\n", - ior_output_file), - 1); + FILE *output_file= ACE_OS::fopen (ior_output_file, "w"); + if (output_file == 0) + ACE_ERROR_RETURN ((LM_ERROR, + "Cannot open output file for writing IOR: %s\n", + ior_output_file), + 1); ACE_OS::fprintf (output_file, "%s", str.in ()); ACE_OS::fclose (output_file); std::cout << "IOR written to file " << ACE_TEXT_ALWAYS_CHAR (ior_output_file) << std::endl; |
