Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Xiph.Org
Icecast-Server
Commits
e7d68fd3
Commit
e7d68fd3
authored
Nov 18, 2014
by
ePirat
Browse files
Move declarations to begin of block
(patch by Andreas Mieke) svn path=/icecast/trunk/icecast/; revision=19318
parent
dbab3fd0
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/xslt.c
View file @
e7d68fd3
...
@@ -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
(
""
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment