Use proper const for 'too many connections'

This commit is contained in:
Andrey Borodin 2019-07-26 11:11:07 +03:00
parent ac146d81de
commit 3ef85db4f4
1 changed files with 1 additions and 1 deletions

View File

@ -94,7 +94,7 @@ od_frontend_error_is_too_many_connections(od_client_t *client)
&error);
if (rc == -1)
return false;
return strcmp(error.code,"53300") == 0;
return strcmp(error.code, KIWI_TOO_MANY_CONNECTIONS) == 0;
}
static int