[xmppd-dev] commit r1550 - branches/RELEASE-1_6_1/jabberd
mail at jabberd.org
mail at jabberd.org
Mon Dec 8 21:02:01 CET 2008
Author: mawis
Date: Mon Dec 8 21:02:01 2008
New Revision: 1550
Log:
... and one line was missing as well.
Modified:
branches/RELEASE-1_6_1/jabberd/mio_xml.cc
Modified: branches/RELEASE-1_6_1/jabberd/mio_xml.cc
==============================================================================
--- branches/RELEASE-1_6_1/jabberd/mio_xml.cc Mon Dec 8 20:45:50 2008 (r1549)
+++ branches/RELEASE-1_6_1/jabberd/mio_xml.cc Mon Dec 8 21:02:01 2008 (r1550)
@@ -465,6 +465,7 @@
if (file_size < 1024*1024) {
char *result_buffer = new char[file_size];
+ file.read(result_buffer, file_size);
std::string result_string(result_buffer, file_size);
mio_write(m, NULL, result_string.c_str(), result_string.length()+1);
delete[] result_buffer;
More information about the dev
mailing list