BUG/MINOR: conf: Fix 'maxsslconn' statement error if built without OPENSSL.

This commit is contained in:
Emeric Brun 2012-10-02 18:45:42 +02:00 committed by Willy Tarreau
parent 1c862c5920
commit 0914df894f

View 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")) {