From 3ef85db4f499f7ee9020627d3b6acd4f1e28a089 Mon Sep 17 00:00:00 2001 From: Andrey Borodin Date: Fri, 26 Jul 2019 11:11:07 +0300 Subject: [PATCH] Use proper const for 'too many connections' --- sources/frontend.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sources/frontend.c b/sources/frontend.c index 4e8d5597..9170f5bd 100644 --- a/sources/frontend.c +++ b/sources/frontend.c @@ -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