summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libpiano/xml.c2
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);