summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--TAO/tao/SystemException.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/TAO/tao/SystemException.cpp b/TAO/tao/SystemException.cpp
index af2752df425..e1a56457208 100644
--- a/TAO/tao/SystemException.cpp
+++ b/TAO/tao/SystemException.cpp
@@ -813,7 +813,7 @@ CORBA::SystemException::_tao_get_omg_exception_description (
CORBA::TIMEOUT const * timeout_exception =
dynamic_cast <const CORBA::TIMEOUT *> (&exc);
- if (intf_repos_exception != 0
+ if (timeout_exception != 0
&& minor_code < sizeof TIMEOUT_TABLE / sizeof (char *))
return TIMEOUT_TABLE[minor_code];