Description: Add missing else statement
 The attached patch (against SVN trunk) adds an "else" statement that
 in our opinion got lost in omniORB 4.1.4 in this checkin (file
 omniObjRef.cc):
 .
  Revision 1.4.2.7  2008/10/28 15:54:51  dgrisby
  Internal CommFailure exception escapes after failed-on-forward call
  that is not retried.
 .
 There were two identical code blocks in omniORB 4.1.3 that were
 altered by the above checkin. In omniORB 4.1.4 a diff shows that the
 "else" statement misses in one of the blocks.
 .
 The erroneous behavior we are seeing is this:
 .
 * Client contacts Naming Service and establishes a connection
 * Later the Naming Service closes the connection due to its
   inConScanPeriod setting
 * Client contacts Naming Service again before its outConScanPeriod is
   over
 * Client sees the dead connection but instead of performing a retry it
 immediately throws a COMM_FAILURE exception
 .
 omniORB 4.1.3 and patched 4.1.4 clients work as expected and open a
 new connection to the Naming Service.
Forwarded: http://www.omniorb-support.com/pipermail/omniorb-list/2010-July/030686.html
Author: Peter Klotz <peter.klotz@aon.at>

--- a/src/lib/omniORB/orbcore/omniObjRef.cc
+++ b/src/lib/omniORB/orbcore/omniObjRef.cc
@@ -1116,6 +1116,7 @@
       if (ex.retry()) {
 	required_retry = 1;
       }
+      else {
       if (fwd) {
 	omni::revertToOriginalProfile(this);
 	CORBA::TRANSIENT ex2(TRANSIENT_FailedOnForwarded, ex.completed());
@@ -1136,6 +1137,7 @@
 	if (!_omni_callTransientExceptionHandler(this, retries++, ex2))
 	  OMNIORB_THROW(TRANSIENT,ex.minor(),ex.completed());
       }
+      }
     }
     catch(CORBA::COMM_FAILURE& ex) {
       if( fwd ) {
