From: Emeric Brun Date: Tue, 2 Oct 2012 16:45:42 +0000 (+0200) Subject: BUG/MINOR: conf: Fix 'maxsslconn' statement error if built without OPENSSL. X-Git-Tag: v1.5-dev13~194 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=0914df894ff685ba2469bea6cb239a24c5b2d531;p=thirdparty%2Fhaproxy.git BUG/MINOR: conf: Fix 'maxsslconn' statement error if built without OPENSSL. --- diff --git a/src/cfgparse.c b/src/cfgparse.c index 86bc15c132..9d1a6fd14e 100644 --- a/src/cfgparse.c +++ b/src/cfgparse.c @@ -727,11 +727,9 @@ int cfg_parse_global(const char *file, int linenum, char **args, int kwm) } global.maxsslconn = atol(args[1]); #else - if (*(args[1]) == 0) { - Alert("parsing [%s:%d] : '%s' is not implemented.\n", file, linenum, args[0]); - err_code |= ERR_ALERT | ERR_FATAL; - goto out; - } + Alert("parsing [%s:%d] : '%s' is not implemented.\n", file, linenum, args[0]); + err_code |= ERR_ALERT | ERR_FATAL; + goto out; #endif } else if (!strcmp(args[0], "maxconnrate")) {