summaryrefslogtreecommitdiff
path: root/cpp/src
diff options
context:
space:
mode:
authorMatthew Newhook <matthew@zeroc.com>2002-01-30 18:19:07 +0000
committerMatthew Newhook <matthew@zeroc.com>2002-01-30 18:19:07 +0000
commitca9f575fd814a755c1999de2a783817c43073648 (patch)
tree0bc3f741c822b2f747bdbb4f02d7e8b2eb269b37 /cpp/src
parentFreeze updates. (diff)
downloadice-ca9f575fd814a755c1999de2a783817c43073648.tar.bz2
ice-ca9f575fd814a755c1999de2a783817c43073648.tar.xz
ice-ca9f575fd814a755c1999de2a783817c43073648.zip
Bug fix.
Diffstat (limited to 'cpp/src')
-rw-r--r--cpp/src/slice2freeze/Main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/slice2freeze/Main.cpp b/cpp/src/slice2freeze/Main.cpp
index 7c4c15be6fa..876b26b7d9a 100644
--- a/cpp/src/slice2freeze/Main.cpp
+++ b/cpp/src/slice2freeze/Main.cpp
@@ -107,7 +107,7 @@ writeCodecC(const TypePtr& type, const string& name, const string& freezeType, O
C << nl << "os << \"<data>\";";
C << nl << "::Ice::StreamPtr stream = new ::IceXML::StreamI(communicator, os);";
writeGenericMarshalUnmarshalCode(C, type, "v", true, tagName, "stream", true);
- C << nl << "os << \"\n</data>\";";
+ C << nl << "os << \"\\n</data>\";";
C << nl << "bytes.resize(os.str().size());";
C << nl << "memcpy(&bytes[0], os.str().data(), os.str().size());";
C << eb;