summaryrefslogtreecommitdiff
path: root/rb/src/IceRuby/Proxy.cpp
diff options
context:
space:
mode:
authorMark Spruiell <mes@zeroc.com>2006-11-08 21:37:02 +0000
committerMark Spruiell <mes@zeroc.com>2006-11-08 21:37:02 +0000
commit157103e8ba6e57d43ff4a2d192a585a96b77723c (patch)
tree3261fb9be019910a06ac05d5dcda907753b861da /rb/src/IceRuby/Proxy.cpp
parentFixed tooltip (diff)
downloadice-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.cpp2
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);
}