summaryrefslogtreecommitdiff
path: root/TAO/DevGuideExamples/Multithreading/ThreadPerConnection
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2009-12-30 11:43:30 +0000
committerJohnny Willemsen <jwillemsen@remedy.nl>2009-12-30 11:43:30 +0000
commitbb1c4fca639802716f1f76aac2bca8caa092cc87 (patch)
treee79fbddd3dc7b0a25ab8b4a01ce67e69190e4006 /TAO/DevGuideExamples/Multithreading/ThreadPerConnection
parent6125b8694fd48c54d357aa44b454a1e3661f5b4a (diff)
downloadATCD-bb1c4fca639802716f1f76aac2bca8caa092cc87.tar.gz
Diffstat (limited to 'TAO/DevGuideExamples/Multithreading/ThreadPerConnection')
-rw-r--r--TAO/DevGuideExamples/Multithreading/ThreadPerConnection/MessengerServer.cpp12
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;