diff options
author | Lars-Dominik Braun <PromyLOPh@lavabit.com> | 2008-12-13 21:24:55 +0100 |
---|---|---|
committer | Lars-Dominik Braun <PromyLOPh@lavabit.com> | 2008-12-13 21:24:55 +0100 |
commit | 785819ed369fae59aef20a09779eaa0a627a8709 (patch) | |
tree | 77095a2cb723f05dc71db60d548ba15ef101b34c /libpiano/src/xml.c | |
parent | 1b3fe191ec75a1183de747f033fdb00741329b9f (diff) | |
download | pianobar-785819ed369fae59aef20a09779eaa0a627a8709.tar.gz pianobar-785819ed369fae59aef20a09779eaa0a627a8709.tar.bz2 pianobar-785819ed369fae59aef20a09779eaa0a627a8709.zip |
piano: New error STATION_CODE_INVALID
Diffstat (limited to 'libpiano/src/xml.c')
-rw-r--r-- | libpiano/src/xml.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libpiano/src/xml.c b/libpiano/src/xml.c index 2b33fe3..a07542b 100644 --- a/libpiano/src/xml.c +++ b/libpiano/src/xml.c @@ -70,6 +70,9 @@ void PianoXmlIsFaultCb (const char *key, const xmlNode *value, void *data) { *ret = PIANO_RET_PROTOCOL_INCOMPATIBLE; } else if (strcmp ("READONLY_MODE", matchStr) == 0) { *ret = PIANO_RET_READONLY_MODE; + } else if (strcmp ("STATION_CODE_INVALID", + matchStr) == 0) { + *ret = PIANO_RET_STATION_CODE_INVALID; } else { *ret = PIANO_RET_ERR; printf (PACKAGE ": Unknown error %s in %s\n", |