]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
BUG/MINOR: conf: Fix 'maxsslconn' statement error if built without OPENSSL.
authorEmeric Brun <ebrun@exceliance.fr>
Tue, 2 Oct 2012 16:45:42 +0000 (18:45 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 5 Oct 2012 17:59:55 +0000 (19:59 +0200)
src/cfgparse.c

index 86bc15c1325f8be38601803d33b8dbc12c2301c3..9d1a6fd14e426fba6e1b54693e6b1f63cb08576b 100644 (file)
@@ -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")) {