diff options
author | Mark Spruiell <mes@zeroc.com> | 2006-11-08 21:37:02 +0000 |
---|---|---|
committer | Mark Spruiell <mes@zeroc.com> | 2006-11-08 21:37:02 +0000 |
commit | 157103e8ba6e57d43ff4a2d192a585a96b77723c (patch) | |
tree | 3261fb9be019910a06ac05d5dcda907753b861da /rb/src/IceRuby/Proxy.cpp | |
parent | Fixed tooltip (diff) | |
download | ice-157103e8ba6e57d43ff4a2d192a585a96b77723c.tar.bz2 ice-157103e8ba6e57d43ff4a2d192a585a96b77723c.tar.xz ice-157103e8ba6e57d43ff4a2d192a585a96b77723c.zip |
fix for ice_getCachedConnection
Diffstat (limited to 'rb/src/IceRuby/Proxy.cpp')
-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); } |