summaryrefslogtreecommitdiff
path: root/libpiano/src/xml.c
diff options
context:
space:
mode:
Diffstat (limited to 'libpiano/src/xml.c')
-rw-r--r--libpiano/src/xml.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libpiano/src/xml.c b/libpiano/src/xml.c
index 25cd8f8..f43d4a8 100644
--- a/libpiano/src/xml.c
+++ b/libpiano/src/xml.c
@@ -65,6 +65,9 @@ void PianoXmlIsFaultCb (const char *key, const xmlNode *value, void *data) {
} else if (strcmp ("LISTENER_NOT_AUTHORIZED",
matchStr) == 0) {
*ret = PIANO_RET_NOT_AUTHORIZED;
+ } else if (strcmp ("INCOMPATIBLE_VERSION",
+ matchStr) == 0) {
+ *ret = PIANO_RET_PROTOCOL_INCOMPATIBLE;
} else {
*ret = PIANO_RET_ERR;
printf (PACKAGE ": Unknown error %s in %s\n",