From 0914df894ff685ba2469bea6cb239a24c5b2d531 Mon Sep 17 00:00:00 2001 From: Emeric Brun Date: Tue, 2 Oct 2012 18:45:42 +0200 Subject: [PATCH] BUG/MINOR: conf: Fix 'maxsslconn' statement error if built without OPENSSL. --- src/cfgparse.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/src/cfgparse.c b/src/cfgparse.c index 86bc15c13..9d1a6fd14 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")) {