diff options
-rw-r--r-- | rb/src/IceRuby/Proxy.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rb/src/IceRuby/Proxy.cpp b/rb/src/IceRuby/Proxy.cpp index a7207ae21b3..075144d8cde 100644 --- a/rb/src/IceRuby/Proxy.cpp +++ b/rb/src/IceRuby/Proxy.cpp @@ -951,7 +951,7 @@ IceRuby_ObjectPrx_ice_getCachedConnection(VALUE self) { Ice::ObjectPrx p = getProxy(self); Ice::ConnectionPtr conn = p->ice_getCachedConnection(); - if(!NIL_P(conn)) + if(!conn) { return createConnection(conn); } |