diff options
author | Matthew Newhook <matthew@zeroc.com> | 2007-07-24 11:50:25 -0230 |
---|---|---|
committer | Matthew Newhook <matthew@zeroc.com> | 2007-07-24 11:50:25 -0230 |
commit | e8eabc22c2ff7c1a410ed1c5d7850a11f0d37173 (patch) | |
tree | 00e771b406ca7c485ffd7b245042d6d26d82ee05 /rb/src/IceRuby/Proxy.cpp | |
parent | Commented in 64 bit bin install dir (diff) | |
download | ice-e8eabc22c2ff7c1a410ed1c5d7850a11f0d37173.tar.bz2 ice-e8eabc22c2ff7c1a410ed1c5d7850a11f0d37173.tar.xz ice-e8eabc22c2ff7c1a410ed1c5d7850a11f0d37173.zip |
http://bugzilla.zeroc.com/bugzilla/show_bug.cgi?id=2311
Diffstat (limited to 'rb/src/IceRuby/Proxy.cpp')
-rw-r--r-- | rb/src/IceRuby/Proxy.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rb/src/IceRuby/Proxy.cpp b/rb/src/IceRuby/Proxy.cpp index 98fa699f211..8dea70360e9 100644 --- a/rb/src/IceRuby/Proxy.cpp +++ b/rb/src/IceRuby/Proxy.cpp @@ -1002,7 +1002,7 @@ IceRuby_ObjectPrx_ice_getCachedConnection(VALUE self) { Ice::ObjectPrx p = getProxy(self); Ice::ConnectionPtr conn = p->ice_getCachedConnection(); - if(!conn) + if(conn) { return createConnection(conn); } @@ -1019,7 +1019,7 @@ IceRuby_ObjectPrx_cmp(VALUE self, VALUE other) { if(NIL_P(other)) { - return 1; + return INT2NUM(1); } if(!checkProxy(other)) { |