From 9f658a554f046f6b386bfa8410cafae0151bda8f Mon Sep 17 00:00:00 2001 From: Tim Duesterhus Date: Tue, 16 Jun 2020 18:14:21 +0200 Subject: [PATCH] BUG/MINOR: cfgparse: Add missing fatal++ in PARSE_ERR_HEX case This fixes up commit 32234e751320b60a3879f274d4a4753d7570e757. This patch should be backported whereever that commit is backported. --- src/cfgparse.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/cfgparse.c b/src/cfgparse.c index 9f44c7566..fdbf3a406 100644 --- a/src/cfgparse.c +++ b/src/cfgparse.c @@ -1955,6 +1955,7 @@ next_line: ha_alert("parsing [%s:%d]: truncated or invalid hexadecimal sequence below:\n" " %s\n %*s\n", file, linenum, line, (int)(errptr-line+1), "^"); err_code |= ERR_ALERT | ERR_FATAL; + fatal++; goto next_line; }