From 7d60876fdc9e936193c106ea12cbc26af7035b54 Mon Sep 17 00:00:00 2001 From: Wilfried Goesgens Date: Fri, 24 Jul 2015 14:51:33 +0200 Subject: [PATCH] Fix error number for maxed out server users. --- webcit/serv_func.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webcit/serv_func.c b/webcit/serv_func.c index dd1cc4dee..f6642325f 100644 --- a/webcit/serv_func.c +++ b/webcit/serv_func.c @@ -187,7 +187,7 @@ int GetConnected (void) /* Server isn't ready for us? */ if (short_status != 2) { - if (Status == 571) { + if (Status == 551) { hprintf("HTTP/1.1 503 Service Unavailable\r\n"); hprintf("Content-type: text/plain; charset=utf-8\r\n"); wc_printf(_("This server is already serving its maximum number of users and cannot accept any additional logins at this time. Please try again later or contact your system administrator.")); -- 2.30.2