summaryrefslogtreecommitdiff
path: root/src/libpiano/piano.c
diff options
context:
space:
mode:
authorLars-Dominik Braun <lars@6xq.net>2012-05-23 21:35:39 +0200
committerLars-Dominik Braun <lars@6xq.net>2012-05-23 21:35:39 +0200
commit81bf363ac69e0036562434ca0e7153c3e624c8c3 (patch)
treecd1a21da84491f216e7466fdb11384989bdccf9b /src/libpiano/piano.c
parentdb4c66b2956a4da2745f16131fe573962c3fcbfb (diff)
downloadpianobar-81bf363ac69e0036562434ca0e7153c3e624c8c3.tar.gz
pianobar-81bf363ac69e0036562434ca0e7153c3e624c8c3.tar.bz2
pianobar-81bf363ac69e0036562434ca0e7153c3e624c8c3.zip
piano: Fix ambiguous error message/return value
Closes #263.
Diffstat (limited to 'src/libpiano/piano.c')
-rw-r--r--src/libpiano/piano.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/libpiano/piano.c b/src/libpiano/piano.c
index 9f4d7ec..47f2fa1 100644
--- a/src/libpiano/piano.c
+++ b/src/libpiano/piano.c
@@ -250,6 +250,10 @@ const char *PianoErrorToStr (PianoReturn_t ret) {
return "Out of memory.";
break;
+ case PIANO_RET_INVALID_LOGIN:
+ return "Wrong email address or password.";
+ break;
+
/* pandora error messages */
case PIANO_RET_P_INTERNAL:
return "Internal error.";