Commit e7d68fd3 authored by ePirat's avatar ePirat

Move declarations to begin of block

(patch by Andreas Mieke)

svn path=/icecast/trunk/icecast/; revision=19318
parent dbab3fd0
...@@ -231,12 +231,13 @@ void xslt_transform(xmlDocPtr doc, const char *xslfilename, client_t *client) ...@@ -231,12 +231,13 @@ void xslt_transform(xmlDocPtr doc, const char *xslfilename, client_t *client)
} }
if (problem == 0) if (problem == 0)
{ {
ssize_t ret;
int failed = 0;
refbuf_t *refbuf;
size_t full_len = strlen (mediatype) + len + 1024; size_t full_len = strlen (mediatype) + len + 1024;
if (full_len < 4096) if (full_len < 4096)
full_len = 4096; full_len = 4096;
refbuf_t *refbuf = refbuf_new (full_len); refbuf = refbuf_new (full_len);
ssize_t ret;
int failed = 0;
if (string == NULL) if (string == NULL)
string = xmlCharStrdup (""); string = xmlCharStrdup ("");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment