diff options
author | Johnny Willemsen <jwillemsen@remedy.nl> | 2007-01-03 19:00:47 +0000 |
---|---|---|
committer | Johnny Willemsen <jwillemsen@remedy.nl> | 2007-01-03 19:00:47 +0000 |
commit | 3e1f88f8025dc33ea9f9c183e0dec8056f4aa63e (patch) | |
tree | 2ba5f47425dbce76b7dea6775d6c9d380ea4de13 /TAO/tao/Invocation_Base.cpp | |
parent | 624c1c1685c5af32199abf474ed6e5b75c8b71dd (diff) | |
download | ATCD-3e1f88f8025dc33ea9f9c183e0dec8056f4aa63e.tar.gz |
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; |