From 858ecd45441218b20c2592a0f27ff247e9425bba Mon Sep 17 00:00:00 2001 From: Lars-Dominik Braun Date: Wed, 20 Aug 2008 10:47:31 +0200 Subject: piano: New error INCOMPATIBLE_VERSION Raised when pandora bumps their protocol url/version --- libpiano/src/xml.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'libpiano/src/xml.c') 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", -- cgit v1.2.3