summaryrefslogtreecommitdiff
path: root/cpp/src/Ice/TraceLevels.cpp
diff options
context:
space:
mode:
authorMarc Laukien <marc@zeroc.com>2001-09-17 22:04:17 +0000
committerMarc Laukien <marc@zeroc.com>2001-09-17 22:04:17 +0000
commit60f51d6688e98ed87d24e6e9d1f179ca5db8f07a (patch)
tree7c99579afb6e99ea7a76cc5e564db694bdc6d8aa /cpp/src/Ice/TraceLevels.cpp
parentfixes (diff)
downloadice-60f51d6688e98ed87d24e6e9d1f179ca5db8f07a.tar.bz2
ice-60f51d6688e98ed87d24e6e9d1f179ca5db8f07a.tar.xz
ice-60f51d6688e98ed87d24e6e9d1f179ca5db8f07a.zip
tons of fixes
Diffstat (limited to 'cpp/src/Ice/TraceLevels.cpp')
-rw-r--r--cpp/src/Ice/TraceLevels.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/cpp/src/Ice/TraceLevels.cpp b/cpp/src/Ice/TraceLevels.cpp
index e35c30c3a96..05eaecbfa9d 100644
--- a/cpp/src/Ice/TraceLevels.cpp
+++ b/cpp/src/Ice/TraceLevels.cpp
@@ -31,15 +31,21 @@ IceInternal::TraceLevels::TraceLevels(const PropertiesPtr& properties) :
value = properties->getProperty(keyBase + networkCat);
if (!value.empty())
+ {
const_cast<int&>(network) = atoi(value.c_str());
+ }
value = properties->getProperty(keyBase + protocolCat);
if (!value.empty())
+ {
const_cast<int&>(protocol) = atoi(value.c_str());
+ }
value = properties->getProperty(keyBase + retryCat);
if (!value.empty())
+ {
const_cast<int&>(retry) = atoi(value.c_str());
+ }
}
IceInternal::TraceLevels::~TraceLevels()