diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/libpiano/piano.c | 8 | ||||
-rw-r--r-- | src/libpiano/piano.h | 2 |
2 files changed, 9 insertions, 1 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; diff --git a/src/libpiano/piano.h b/src/libpiano/piano.h index ea21aa1..d8bebcc 100644 --- a/src/libpiano/piano.h +++ b/src/libpiano/piano.h @@ -286,7 +286,7 @@ typedef enum { PIANO_RET_P_URL_PARAM_MISSING_USER_ID = PIANO_RET_OFFSET+5, PIANO_RET_P_USERNAME_ALREADY_EXISTS = PIANO_RET_OFFSET+1013, PIANO_RET_P_USER_ALREADY_USED_TRIAL = PIANO_RET_OFFSET+1037, - PIANO_RET_P_USER_NOT_ACTIVE = PIANO_RET_OFFSET+1003, + PIANO_RET_P_LISTENER_NOT_AUTHORIZED = PIANO_RET_OFFSET+1003, PIANO_RET_P_USER_NOT_AUTHORIZED = PIANO_RET_OFFSET+1004, PIANO_RET_P_ZIP_CODE_INVALID = PIANO_RET_OFFSET+1024, |