summaryrefslogtreecommitdiff
path: root/cpp
diff options
context:
space:
mode:
authorAnthony Neal <aneal@zeroc.com>2002-01-15 23:35:08 +0000
committerAnthony Neal <aneal@zeroc.com>2002-01-15 23:35:08 +0000
commit08fbf3370cef8c8a9ce34abe19f5537f2f5ebf5d (patch)
tree878def133f90a6e666129f68120d1daef2d3c619 /cpp
parentuuid fixes for windows (diff)
downloadice-08fbf3370cef8c8a9ce34abe19f5537f2f5ebf5d.tar.bz2
ice-08fbf3370cef8c8a9ce34abe19f5537f2f5ebf5d.tar.xz
ice-08fbf3370cef8c8a9ce34abe19f5537f2f5ebf5d.zip
Fixed the error message that was malformed.
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;
}