4
Fork 0
This commit is contained in:
Artem Prilutskiy 2017-06-01 18:25:48 +03:00
parent e12561b85f
commit 3329b3d35c
2 changed files with 2 additions and 2 deletions

View file

@ -268,7 +268,7 @@ int ConnectRewindClient(struct RewindContext* context, const char* location, con
attempt ++; attempt ++;
continue; continue;
} }
return CLIENT_ERROR_ATTEMPT_EXCEEDED; return CLIENT_ERROR_WRONG_PASSWORD;
case REWIND_TYPE_KEEP_ALIVE: case REWIND_TYPE_KEEP_ALIVE:
if (options != 0) if (options != 0)

View file

@ -23,7 +23,7 @@ extern "C"
#define CLIENT_ERROR_WRONG_ADDRESS -2 #define CLIENT_ERROR_WRONG_ADDRESS -2
#define CLIENT_ERROR_WRONG_DATA -3 #define CLIENT_ERROR_WRONG_DATA -3
#define CLIENT_ERROR_DNS_RESOLVE -4 #define CLIENT_ERROR_DNS_RESOLVE -4
#define CLIENT_ERROR_ATTEMPT_EXCEEDED -5 #define CLIENT_ERROR_WRONG_PASSWORD -5
#define CLIENT_ERROR_RESPONSE_TIMEOUT -6 #define CLIENT_ERROR_RESPONSE_TIMEOUT -6
struct RewindContext struct RewindContext