summaryrefslogtreecommitdiff
path: root/TAO/tao/IIOP_Connection_Handler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tao/IIOP_Connection_Handler.cpp')
-rw-r--r--TAO/tao/IIOP_Connection_Handler.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/TAO/tao/IIOP_Connection_Handler.cpp b/TAO/tao/IIOP_Connection_Handler.cpp
index 238b3ed1fa9..506d4101a00 100644
--- a/TAO/tao/IIOP_Connection_Handler.cpp
+++ b/TAO/tao/IIOP_Connection_Handler.cpp
@@ -338,11 +338,9 @@ TAO_IIOP_Connection_Handler::handle_input_i (ACE_HANDLE,
if (--this->pending_upcalls_ <= 0)
result = -1;
- if (result == -1)
+ if (result == -1 ||
+ result == 1)
return result;
- else if (result == 0)
- // Requires another call to handle_input ()
- return 1;
return 0;
}