1
0
mirror of https://gitlab.xiph.org/xiph/icecast-server.git synced 2024-09-22 04:15:54 -04:00

Move declarations to begin of block

(patch by Andreas Mieke)

svn path=/icecast/trunk/icecast/; revision=19318
This commit is contained in:
ePirat 2014-11-18 17:43:34 +00:00
parent dbab3fd07b
commit e7d68fd3b0

View File

@ -231,12 +231,13 @@ void xslt_transform(xmlDocPtr doc, const char *xslfilename, client_t *client)
}
if (problem == 0)
{
ssize_t ret;
int failed = 0;
refbuf_t *refbuf;
size_t full_len = strlen (mediatype) + len + 1024;
if (full_len < 4096)
full_len = 4096;
refbuf_t *refbuf = refbuf_new (full_len);
ssize_t ret;
int failed = 0;
refbuf = refbuf_new (full_len);
if (string == NULL)
string = xmlCharStrdup ("");