diff options
Diffstat (limited to 'TAO/tao/Invocation_Base.cpp')
-rw-r--r-- | TAO/tao/Invocation_Base.cpp | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/TAO/tao/Invocation_Base.cpp b/TAO/tao/Invocation_Base.cpp index dd2ab25d2cf..7f306a4231a 100644 --- a/TAO/tao/Invocation_Base.cpp +++ b/TAO/tao/Invocation_Base.cpp @@ -155,7 +155,7 @@ namespace TAO ACE_ENDTRY; ACE_CHECK_RETURN (TAO_INVOKE_FAILURE); - const PortableInterceptor::ReplyStatus status = + PortableInterceptor::ReplyStatus const status = this->adapter_->reply_status (*this); if (status == PortableInterceptor::LOCATION_FORWARD || @@ -222,8 +222,14 @@ namespace TAO ACE_ENV_ARG_PARAMETER); ACE_CHECK_RETURN (PortableInterceptor::UNKNOWN); - status = - this->adapter_->reply_status (*this); + if (this->forwarded_to_.in ()) + { + status = PortableInterceptor::LOCATION_FORWARD; + } + else + { + status = this->adapter_->reply_status (*this); + } } return status; |