diff options
author | Lars-Dominik Braun <PromyLOPh@lavabit.com> | 2009-01-06 20:52:16 +0100 |
---|---|---|
committer | Lars-Dominik Braun <PromyLOPh@lavabit.com> | 2009-01-06 20:52:16 +0100 |
commit | 14691417b05401957a72ec0ed35b9eed3ddd8e87 (patch) | |
tree | 66fc948874eef34da3b2a001acebf7604a1fbe9c /libpiano/src/main.c | |
parent | 785819ed369fae59aef20a09779eaa0a627a8709 (diff) | |
download | pianobar-14691417b05401957a72ec0ed35b9eed3ddd8e87.tar.gz pianobar-14691417b05401957a72ec0ed35b9eed3ddd8e87.tar.bz2 pianobar-14691417b05401957a72ec0ed35b9eed3ddd8e87.zip |
piano: Detect pandora's ip restriction error messages
Diffstat (limited to 'libpiano/src/main.c')
-rw-r--r-- | libpiano/src/main.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libpiano/src/main.c b/libpiano/src/main.c index fd0a4bc..698ce6e 100644 --- a/libpiano/src/main.c +++ b/libpiano/src/main.c @@ -868,6 +868,10 @@ const char *PianoErrorToStr (PianoReturn_t ret) { return "Station id is invalid."; break; + case PIANO_RET_IP_REJECTED: + return "Your ip address was rejected. Please setup a control " + "proxy (see manpage)."; + default: return "No error message available."; break; |