diff options
author | Matthew Newhook <matthew@zeroc.com> | 2002-01-30 18:19:07 +0000 |
---|---|---|
committer | Matthew Newhook <matthew@zeroc.com> | 2002-01-30 18:19:07 +0000 |
commit | ca9f575fd814a755c1999de2a783817c43073648 (patch) | |
tree | 0bc3f741c822b2f747bdbb4f02d7e8b2eb269b37 /cpp/src | |
parent | Freeze updates. (diff) | |
download | ice-ca9f575fd814a755c1999de2a783817c43073648.tar.bz2 ice-ca9f575fd814a755c1999de2a783817c43073648.tar.xz ice-ca9f575fd814a755c1999de2a783817c43073648.zip |
Bug fix.
Diffstat (limited to 'cpp/src')
-rw-r--r-- | cpp/src/slice2freeze/Main.cpp | 2 |
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; |