mirror of
https://gitlab.xiph.org/xiph/icecast-server.git
synced 2024-12-04 14:46:30 -05:00
missed from previous merge, some random chars at end of xml output
svn path=/icecast/trunk/icecast/; revision=9512
This commit is contained in:
parent
53650e969f
commit
2ecaecbf7f
@ -269,7 +269,8 @@ void admin_send_response(xmlDocPtr doc, client_t *client,
|
||||
xmlDocDumpMemory(doc, &buff, &len);
|
||||
buf_len = strlen (http) + len + 20;
|
||||
client->refbuf = refbuf_new (buf_len);
|
||||
snprintf (client->refbuf->data, buf_len, "%s%d\r\n\r\n%s", http, len, buff);
|
||||
len = snprintf (client->refbuf->data, buf_len, "%s%d\r\n\r\n%s", http, len, buff);
|
||||
client->refbuf->len = len;
|
||||
xmlFree(buff);
|
||||
client->respcode = 200;
|
||||
fserve_add_client (client, NULL);
|
||||
|
Loading…
Reference in New Issue
Block a user