summaryrefslogtreecommitdiff
path: root/cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp')
-rw-r--r--cpp/src/Ice/SslConfig.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/cpp/src/Ice/SslConfig.cpp b/cpp/src/Ice/SslConfig.cpp
index 71128f50d14..42166b8a772 100644
--- a/cpp/src/Ice/SslConfig.cpp
+++ b/cpp/src/Ice/SslConfig.cpp
@@ -183,7 +183,11 @@ IceSecurity::Ssl::Parser::process()
{
ConfigParseException configEx(__FILE__, __LINE__);
- configEx._message = errorCount + "errors occured during parsing.";
+ ostringstream errStr;
+
+ errStr << dec << errorCount << " errors occured during parsing.";
+
+ configEx._message = errStr.str();
throw configEx;
}