mirror of https://github.com/yandex/odyssey.git
Use proper const for 'too many connections'
This commit is contained in:
parent
ac146d81de
commit
3ef85db4f4
|
@ -94,7 +94,7 @@ od_frontend_error_is_too_many_connections(od_client_t *client)
|
||||||
&error);
|
&error);
|
||||||
if (rc == -1)
|
if (rc == -1)
|
||||||
return false;
|
return false;
|
||||||
return strcmp(error.code,"53300") == 0;
|
return strcmp(error.code, KIWI_TOO_MANY_CONNECTIONS) == 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int
|
||||||
|
|
Loading…
Reference in New Issue