summaryrefslogtreecommitdiff
path: root/cpp/src/Ice/IdentityUtil.cpp
diff options
context:
space:
mode:
authorMatthew Newhook <matthew@zeroc.com>2001-12-06 14:48:37 +0000
committerMatthew Newhook <matthew@zeroc.com>2001-12-06 14:48:37 +0000
commitf7747bf15ca3ae39b55eb8a18b436371767710f8 (patch)
tree9922a94ea4980e848b003e2475532fa85e829b58 /cpp/src/Ice/IdentityUtil.cpp
parentfixes (diff)
downloadice-f7747bf15ca3ae39b55eb8a18b436371767710f8.tar.bz2
ice-f7747bf15ca3ae39b55eb8a18b436371767710f8.tar.xz
ice-f7747bf15ca3ae39b55eb8a18b436371767710f8.zip
Fix identityToString bug.
Diffstat (limited to 'cpp/src/Ice/IdentityUtil.cpp')
-rw-r--r--cpp/src/Ice/IdentityUtil.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/Ice/IdentityUtil.cpp b/cpp/src/Ice/IdentityUtil.cpp
index 06ae1b821e5..4dc378b3edf 100644
--- a/cpp/src/Ice/IdentityUtil.cpp
+++ b/cpp/src/Ice/IdentityUtil.cpp
@@ -28,7 +28,7 @@ Ice::stringToIdentity(const string& s)
if (pos != string::npos)
{
ident.category = s.substr(0, pos);
- ident.name = s.substr(pos);
+ ident.name = s.substr(pos+1);
}
else
{