summaryrefslogtreecommitdiff
path: root/cpp/src/Ice/Connection.cpp
diff options
context:
space:
mode:
authorMarc Laukien <marc@zeroc.com>2002-02-14 04:16:37 +0000
committerMarc Laukien <marc@zeroc.com>2002-02-14 04:16:37 +0000
commit0f6931918a5fe32cd90fb9f599682838f48cb716 (patch)
tree3201933dcf9691bffd803ed0116895dbf5645d8a /cpp/src/Ice/Connection.cpp
parentRemoved file that shouldn't be present until after merging FreezeXML (diff)
downloadice-0f6931918a5fe32cd90fb9f599682838f48cb716.tar.bz2
ice-0f6931918a5fe32cd90fb9f599682838f48cb716.tar.xz
ice-0f6931918a5fe32cd90fb9f599682838f48cb716.zip
fixes, simplifications
Diffstat (limited to 'cpp/src/Ice/Connection.cpp')
-rw-r--r--cpp/src/Ice/Connection.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/Ice/Connection.cpp b/cpp/src/Ice/Connection.cpp
index ff590515c48..a04a525872e 100644
--- a/cpp/src/Ice/Connection.cpp
+++ b/cpp/src/Ice/Connection.cpp
@@ -573,7 +573,7 @@ IceInternal::Connection::Connection(const InstancePtr& instance,
_responseCount(0),
_state(StateHolding)
{
- _warn = atoi(_instance->properties()->getProperty("Ice.ConnectionWarnings").c_str()) > 0 ? true : false;
+ _warn = atoi(_instance->properties()->getProperty("Ice.ConnectionWarnings").c_str()) > 0;
}
IceInternal::Connection::~Connection()