diff options
author | Lars-Dominik Braun <PromyLOPh@gmail.com> | 2008-06-10 15:01:44 +0200 |
---|---|---|
committer | Lars-Dominik Braun <PromyLOPh@gmail.com> | 2008-06-10 15:01:44 +0200 |
commit | ae4c6ae9f49f9dcce9f74e39ab313c1f8efaa166 (patch) | |
tree | fb1048e20d5767b22313b546cd3dcf7c37d0046d | |
parent | 37482265ddc20dcb8c6d4cbb5e7ba5470df0e2df (diff) | |
download | pianobar-ae4c6ae9f49f9dcce9f74e39ab313c1f8efaa166.tar.gz pianobar-ae4c6ae9f49f9dcce9f74e39ab313c1f8efaa166.tar.bz2 pianobar-ae4c6ae9f49f9dcce9f74e39ab313c1f8efaa166.zip |
Fix PianoXmlParseRate return value on xml parser error
-rw-r--r-- | libpiano/xml.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libpiano/xml.c b/libpiano/xml.c index 119e213..97f56f8 100644 --- a/libpiano/xml.c +++ b/libpiano/xml.c @@ -296,7 +296,7 @@ PianoReturn_t PianoXmlParseRate (char *xml) { if (doc == NULL) { printf ("whoops... xml parser error\n"); - return; + return PIANO_RET_ERR; } docRoot = xmlDocGetRootElement (doc); |