Commit 66df64b4 authored by Philipp Schafft's avatar Philipp Schafft 🦁

Handle empty strings as empty strings in config, not as NULL.

This doesn't seem to break stuff but will unbreak more than just the originally
reported problem with empty passwords. However it should be considered to add
some defauls we fall back to when the string is empty. close #1875

svn path=/icecast/trunk/ices/; revision=18473
parent 8cabe75a
......@@ -66,6 +66,7 @@
do {\
if (x) xmlFree(x);\
(x) = (char *)xmlNodeListGetString(doc, node->xmlChildrenNode, 1);\
if (!(x)) (x) = xmlStrdup("");\
} while (0)
#define SET_INT(x) \
......
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