diff options
Diffstat (limited to 'protocols/ace/RMCast/RMCast_IO_UDP.cpp')
-rw-r--r-- | protocols/ace/RMCast/RMCast_IO_UDP.cpp | 39 |
1 files changed, 18 insertions, 21 deletions
diff --git a/protocols/ace/RMCast/RMCast_IO_UDP.cpp b/protocols/ace/RMCast/RMCast_IO_UDP.cpp index e01e9b07cbd..1a2f00c1eca 100644 --- a/protocols/ace/RMCast/RMCast_IO_UDP.cpp +++ b/protocols/ace/RMCast/RMCast_IO_UDP.cpp @@ -140,26 +140,24 @@ ACE_RMCast_IO_UDP::handle_input (ACE_HANDLE) #if 0 if (type == ACE_RMCast::MT_ACK - || type == ACE_RMCast::MT_JOIN - || type == ACE_RMCast::MT_LEAVE - || type == ACE_RMCast::MT_ACK_LEAVE) - { - // All these message types indicate a problem, the should be - // generated by receivers, not received by them. - return 0; - } + || type == ACE_RMCast::MT_JOIN + || type == ACE_RMCast::MT_LEAVE + || type == ACE_RMCast::MT_ACK_LEAVE) + { + // All these message types indicate a problem, the should be + // generated by receivers, not received by them. + return 0; + } #endif /* 0 */ - ACE_RMCast_Module *module = this->factory_->create (); if (module == 0) - { - // @@ LOG?? - // Try to continue working, maybe the module can be created - // later. - return 0; - } - - // This is necessary to satisfy the stupid xgcc for Lynx on Solaris + { + // @@ LOG?? + // Try to continue working, maybe the module can be created + // later. + return 0; + } + // This is necessary to satisfy the xgcc for Lynx on Solaris // by including the code directly causes : // RMCast_IO_UDP.cpp:202: error: internal error--unrecognizable insn: // (insn 1510 1507 524 (set (mem:SI (plus:SI (reg:SI 28 r28) @@ -169,10 +167,9 @@ ACE_RMCast_IO_UDP::handle_input (ACE_HANDLE) // /usr/lynx/home2/jose/98r2/src/gcc/toplev.c:1489: Internal compiler error in function fatal_insn // to be thrown at the end of the function. if ((proxy = allocate_and_bind_proxy(module,from_address)) == 0) - return 0; - - } - + return 0; + } + // Have the proxy process the message and do the right thing. if (proxy->receive_message (buffer, r) != 0) { |