diff options
author | Lars-Dominik Braun <PromyLOPh@lavabit.com> | 2009-01-27 18:02:27 +0100 |
---|---|---|
committer | Lars-Dominik Braun <PromyLOPh@lavabit.com> | 2009-01-27 18:02:27 +0100 |
commit | 6f02b03ebc28de6c8d19599d7aa0a9066f9d83ee (patch) | |
tree | 19ac5c93a2eb9d14adf1e474b21899aec8064d10 /libpiano/src/xml.c | |
parent | 68abe4cde4cdae13018bf23dae1926975b9cdefa (diff) | |
download | pianobar-6f02b03ebc28de6c8d19599d7aa0a9066f9d83ee.tar.gz pianobar-6f02b03ebc28de6c8d19599d7aa0a9066f9d83ee.tar.bz2 pianobar-6f02b03ebc28de6c8d19599d7aa0a9066f9d83ee.zip |
piano: New error STATION_NONEXISTENT
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 847bc49..6d3d35a 100644 --- a/libpiano/src/xml.c +++ b/libpiano/src/xml.c @@ -78,6 +78,9 @@ void PianoXmlIsFaultCb (const char *key, const xmlNode *value, void *data) { } else if (strcmp ("STATION_CODE_INVALID", matchStr) == 0) { *ret = PIANO_RET_STATION_CODE_INVALID; + } else if (strcmp ("STATION_DOES_NOT_EXIST", + matchStr) == 0) { + *ret = PIANO_RET_STATION_NONEXISTENT; } else { *ret = PIANO_RET_ERR; printf (PACKAGE ": Unknown error %s in %s\n", |