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/main.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/main.c')
-rw-r--r-- | libpiano/src/main.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libpiano/src/main.c b/libpiano/src/main.c index 6cb6bad..600c74c 100644 --- a/libpiano/src/main.c +++ b/libpiano/src/main.c @@ -871,6 +871,7 @@ const char *PianoErrorToStr (PianoReturn_t ret) { case PIANO_RET_READONLY_MODE: return "Request cannot be completed at this time, please try " "again later."; + break; case PIANO_RET_STATION_CODE_INVALID: return "Station id is invalid."; @@ -879,6 +880,11 @@ const char *PianoErrorToStr (PianoReturn_t ret) { case PIANO_RET_IP_REJECTED: return "Your ip address was rejected. Please setup a control " "proxy (see manpage)."; + break; + + case PIANO_RET_STATION_NONEXISTENT: + return "Station does not exist"; + break; default: return "No error message available."; |