diff --git a/RewindClient.c b/RewindClient.c index 4bb6f62..84d852a 100644 --- a/RewindClient.c +++ b/RewindClient.c @@ -268,7 +268,7 @@ int ConnectRewindClient(struct RewindContext* context, const char* location, con attempt ++; continue; } - return CLIENT_ERROR_ATTEMPT_EXCEEDED; + return CLIENT_ERROR_WRONG_PASSWORD; case REWIND_TYPE_KEEP_ALIVE: if (options != 0) diff --git a/RewindClient.h b/RewindClient.h index 609a453..887599d 100644 --- a/RewindClient.h +++ b/RewindClient.h @@ -23,7 +23,7 @@ extern "C" #define CLIENT_ERROR_WRONG_ADDRESS -2 #define CLIENT_ERROR_WRONG_DATA -3 #define CLIENT_ERROR_DNS_RESOLVE -4 -#define CLIENT_ERROR_ATTEMPT_EXCEEDED -5 +#define CLIENT_ERROR_WRONG_PASSWORD -5 #define CLIENT_ERROR_RESPONSE_TIMEOUT -6 struct RewindContext