diff options
author | Lars-Dominik Braun <lars@6xq.net> | 2012-06-07 16:21:37 +0200 |
---|---|---|
committer | Lars-Dominik Braun <lars@6xq.net> | 2012-06-07 16:26:17 +0200 |
commit | b32348d88f700f4a3b5fb3a95f7ee40336952230 (patch) | |
tree | de5d308c9f0397987551481825b0d5acd0bba6df /src/libpiano/piano.c | |
parent | 2d9b7bfd3395148419da27cd3c98de470a2d245b (diff) | |
download | pianobar-b32348d88f700f4a3b5fb3a95f7ee40336952230.tar.gz pianobar-b32348d88f700f4a3b5fb3a95f7ee40336952230.tar.bz2 pianobar-b32348d88f700f4a3b5fb3a95f7ee40336952230.zip |
piano: More error messages
Diffstat (limited to 'src/libpiano/piano.c')
-rw-r--r-- | src/libpiano/piano.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/libpiano/piano.c b/src/libpiano/piano.c index 70f7d41..74ab3ed 100644 --- a/src/libpiano/piano.c +++ b/src/libpiano/piano.c @@ -292,6 +292,14 @@ const char *PianoErrorToStr (PianoReturn_t ret) { "Set up a control proxy (see manpage)."; break; + case PIANO_RET_P_PARTNER_NOT_AUTHORIZED: + return "Invalid partner credentials."; + break; + + case PIANO_RET_P_LISTENER_NOT_AUTHORIZED: + return "Listener not authorized."; + break; + default: return "No error message available."; break; |