diff options
author | Lars-Dominik Braun <PromyLOPh@lavabit.com> | 2008-10-05 08:40:22 +0200 |
---|---|---|
committer | Lars-Dominik Braun <PromyLOPh@lavabit.com> | 2008-10-05 08:40:22 +0200 |
commit | 46abfd7b12613aa565beaf163a0679f59e03480a (patch) | |
tree | a3ac30000b50f5491fe70d69ccd88098d8021186 /libpiano/src/xml.c | |
parent | 15e352510d9087e2f48c8059f1756573ae298936 (diff) | |
download | pianobar-46abfd7b12613aa565beaf163a0679f59e03480a.tar.gz pianobar-46abfd7b12613aa565beaf163a0679f59e03480a.tar.bz2 pianobar-46abfd7b12613aa565beaf163a0679f59e03480a.zip |
piano: New error READONLY_MODE
Diffstat (limited to 'libpiano/src/xml.c')
-rw-r--r-- | libpiano/src/xml.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libpiano/src/xml.c b/libpiano/src/xml.c index 73f9030..2b33fe3 100644 --- a/libpiano/src/xml.c +++ b/libpiano/src/xml.c @@ -68,6 +68,8 @@ void PianoXmlIsFaultCb (const char *key, const xmlNode *value, void *data) { } else if (strcmp ("INCOMPATIBLE_VERSION", matchStr) == 0) { *ret = PIANO_RET_PROTOCOL_INCOMPATIBLE; + } else if (strcmp ("READONLY_MODE", matchStr) == 0) { + *ret = PIANO_RET_READONLY_MODE; } else { *ret = PIANO_RET_ERR; printf (PACKAGE ": Unknown error %s in %s\n", |