Changes to attempt to silence bcc64x
[ACE_TAO.git] / TAO / orbsvcs / tests / ImplRepo / Bug_2604_Regression / Messenger_i.cpp
blob2c34caaf3050576f2552db1333411b966ddd79c4
1 #include "Messenger_i.h"
3 CORBA::Boolean
4 Messenger_i::send_message (const char *user_name, const char *subject,
5 char *& message)
7 ACE_DEBUG ((LM_DEBUG,
8 ACE_TEXT ("Message from: %C\nSubject: %C\nMessage: %C\n"),
9 user_name, subject, message));
10 const char *reply = "A reply from the server.";
11 CORBA::string_free (message);
12 message = CORBA::string_dup (reply);
13 if (++this->count_ == 6)
15 this->orb_->shutdown (false);
17 return true;