diff options
author | Mark Spruiell <mes@zeroc.com> | 2004-04-13 18:49:49 +0000 |
---|---|---|
committer | Mark Spruiell <mes@zeroc.com> | 2004-04-13 18:49:49 +0000 |
commit | 29c63f6ae26d5dcd9470c22ab3cb324af8549ae3 (patch) | |
tree | 5c772187294f567e5c751ed773b532b526e48cdf /cpp/src/Ice/TraceUtil.cpp | |
parent | facet bug fix (diff) | |
download | ice-29c63f6ae26d5dcd9470c22ab3cb324af8549ae3.tar.bz2 ice-29c63f6ae26d5dcd9470c22ab3cb324af8549ae3.tar.xz ice-29c63f6ae26d5dcd9470c22ab3cb324af8549ae3.zip |
facet fix
Diffstat (limited to 'cpp/src/Ice/TraceUtil.cpp')
-rw-r--r-- | cpp/src/Ice/TraceUtil.cpp | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/cpp/src/Ice/TraceUtil.cpp b/cpp/src/Ice/TraceUtil.cpp index d25e3431321..5a5946a7e3f 100644 --- a/cpp/src/Ice/TraceUtil.cpp +++ b/cpp/src/Ice/TraceUtil.cpp @@ -13,6 +13,7 @@ // ********************************************************************** #include <IceUtil/StaticMutex.h> +#include <IceUtil/StringUtil.h> #include <Ice/TraceUtil.h> #include <Ice/Instance.h> #include <Ice/Object.h> @@ -38,17 +39,9 @@ printIdentityFacetOperation(ostream& s, BasicStream& stream) vector<string> facet; stream.read(facet); s << "\nfacet = "; - vector<string>::const_iterator p = facet.begin(); - while(p != facet.end()) + if(!facet.empty()) { - // - // TODO: Escape for whitespace and slashes. - // - s << *p++; - if(p != facet.end()) - { - s << '/'; - } + s << IceUtil::escapeString(facet[0], ""); } string operation; |