diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/libpiano/piano.c | 4 | ||||
-rw-r--r-- | src/libpiano/piano.h | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/src/libpiano/piano.c b/src/libpiano/piano.c index 042121e..fac5da5 100644 --- a/src/libpiano/piano.c +++ b/src/libpiano/piano.c @@ -304,6 +304,10 @@ const char *PianoErrorToStr (PianoReturn_t ret) { return "Listener not authorized."; break; + case PIANO_RET_P_RATE_LIMIT: + return "Access denied. Try again later."; + break; + default: return "No error message available."; break; diff --git a/src/libpiano/piano.h b/src/libpiano/piano.h index 00bc744..a5eb87f 100644 --- a/src/libpiano/piano.h +++ b/src/libpiano/piano.h @@ -291,7 +291,7 @@ typedef enum { 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, - + PIANO_RET_P_RATE_LIMIT = PIANO_RET_OFFSET+1039, } PianoReturn_t; void PianoInit (PianoHandle_t *, const char *, |