mirror of
https://gitlab.xiph.org/xiph/icecast-server.git
synced 2025-02-02 15:07:36 -05:00
use correct prototype.
svn path=/icecast/trunk/icecast/; revision=18645
This commit is contained in:
parent
9872182a09
commit
91b49c583b
@ -50,6 +50,7 @@
|
|||||||
#include "client.h"
|
#include "client.h"
|
||||||
#include "stats.h"
|
#include "stats.h"
|
||||||
#include "fserve.h"
|
#include "fserve.h"
|
||||||
|
#include "util.h"
|
||||||
|
|
||||||
#define CATMODULE "xslt"
|
#define CATMODULE "xslt"
|
||||||
|
|
||||||
@ -233,7 +234,7 @@ void xslt_transform(xmlDocPtr doc, const char *xslfilename, client_t *client)
|
|||||||
|
|
||||||
if (string == NULL)
|
if (string == NULL)
|
||||||
string = xmlCharStrdup ("");
|
string = xmlCharStrdup ("");
|
||||||
ret = util_http_build_header(refbuf->data, full_len, 0, 0, 200, NULL, mediatype, NULL, NULL, NULL);
|
ret = util_http_build_header(refbuf->data, full_len, 0, 0, 200, NULL, mediatype, NULL, NULL);
|
||||||
snprintf (refbuf->data + ret, full_len - ret,
|
snprintf (refbuf->data + ret, full_len - ret,
|
||||||
"Content-Length: %d\r\n\r\n%s",
|
"Content-Length: %d\r\n\r\n%s",
|
||||||
len, string);
|
len, string);
|
||||||
|
Loading…
Reference in New Issue
Block a user