[xiph-commits] r18699 - icecast/branches/ph3/icecast/src
ph3-der-loewe at svn.xiph.org
ph3-der-loewe at svn.xiph.org
Tue Nov 13 07:19:37 PST 2012
Author: ph3-der-loewe
Date: 2012-11-13 07:19:37 -0800 (Tue, 13 Nov 2012)
New Revision: 18699
Modified:
icecast/branches/ph3/icecast/src/admin.c
Log:
sync with master
Modified: icecast/branches/ph3/icecast/src/admin.c
===================================================================
--- icecast/branches/ph3/icecast/src/admin.c 2012-11-13 14:40:48 UTC (rev 18698)
+++ icecast/branches/ph3/icecast/src/admin.c 2012-11-13 15:19:37 UTC (rev 18699)
@@ -280,7 +280,7 @@
0, 200, NULL,
"text/xml", NULL,
NULL);
- len += snprintf (client->refbuf->data + len, buf_len - len, "Content-Length: %d\r\n\r\n%s", len, buff);
+ len += snprintf (client->refbuf->data + len, buf_len - len, "Content-Length: %d\r\n\r\n%s", xmlStrlen(buff), buff);
client->refbuf->len = len;
xmlFree(buff);
More information about the commits
mailing list