summaryrefslogtreecommitdiff
path: root/cpp/src/Ice/CommunicatorI.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/Ice/CommunicatorI.cpp')
-rw-r--r--cpp/src/Ice/CommunicatorI.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/src/Ice/CommunicatorI.cpp b/cpp/src/Ice/CommunicatorI.cpp
index 2aa716c8099..be71717e327 100644
--- a/cpp/src/Ice/CommunicatorI.cpp
+++ b/cpp/src/Ice/CommunicatorI.cpp
@@ -303,12 +303,12 @@ Ice::CommunicatorI::~CommunicatorI()
if(_instance->__getRef() > 1)
{
PropertiesPtr properties = _instance->properties();
- if(properties->getPropertyAsIntWithDefault("Ice.Warn.Leak", 1) > 0)
+ if(properties->getPropertyAsIntWithDefault("Ice.Warn.Leaks", 1) > 0)
{
Warning warn(_instance->logger());
warn <<
"The communicator is not the last Ice object that is deleted. (You can\n"
- "disable this warning by setting the property `Ice.Warn.Leak' to 0.)";
+ "disable this warning by setting the property `Ice.Warn.Leaks' to 0.)";
}
}
}