diff options
author | Lars-Dominik Braun <lars@6xq.net> | 2012-05-23 21:35:39 +0200 |
---|---|---|
committer | Lars-Dominik Braun <lars@6xq.net> | 2012-05-23 21:35:39 +0200 |
commit | 81bf363ac69e0036562434ca0e7153c3e624c8c3 (patch) | |
tree | cd1a21da84491f216e7466fdb11384989bdccf9b /src/libpiano/piano.h | |
parent | db4c66b2956a4da2745f16131fe573962c3fcbfb (diff) | |
download | pianobar-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.h')
-rw-r--r-- | src/libpiano/piano.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libpiano/piano.h b/src/libpiano/piano.h index 249061b..ea21aa1 100644 --- a/src/libpiano/piano.h +++ b/src/libpiano/piano.h @@ -244,7 +244,9 @@ typedef enum { PIANO_RET_INVALID_RESPONSE = 2, PIANO_RET_CONTINUE_REQUEST = 3, PIANO_RET_OUT_OF_MEMORY = 4, + PIANO_RET_INVALID_LOGIN = 5, + /* pandora error codes */ PIANO_RET_P_INTERNAL = PIANO_RET_OFFSET+0, PIANO_RET_P_API_VERSION_NOT_SUPPORTED = PIANO_RET_OFFSET+11, PIANO_RET_P_BIRTH_YEAR_INVALID = PIANO_RET_OFFSET+1025, |