From 6f02b03ebc28de6c8d19599d7aa0a9066f9d83ee Mon Sep 17 00:00:00 2001 From: Lars-Dominik Braun Date: Tue, 27 Jan 2009 18:02:27 +0100 Subject: piano: New error STATION_NONEXISTENT --- libpiano/src/main.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'libpiano/src/main.c') 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."; -- cgit v1.2.3