From: William Lallemand Date: Thu, 28 May 2015 16:02:48 +0000 (+0200) Subject: BUG/MINOR: cfgparse: fix typo in 'option httplog' error message X-Git-Tag: v1.6-dev2~71 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=77063bc0c6ceb4257c4e2c08411811ecc48be1aa;p=thirdparty%2Fhaproxy.git BUG/MINOR: cfgparse: fix typo in 'option httplog' error message The error message was displaying the wrong argument when 'option httplog' took a wrong argument. --- diff --git a/src/cfgparse.c b/src/cfgparse.c index a030723825..154802eeba 100644 --- a/src/cfgparse.c +++ b/src/cfgparse.c @@ -4132,7 +4132,7 @@ stats_error_parsing: curproxy->options2 |= PR_O2_CLFLOG; logformat = clf_http_log_format; } else { - Alert("parsing [%s:%d] : keyword '%s' only supports option 'clf'.\n", file, linenum, args[2]); + Alert("parsing [%s:%d] : keyword '%s' only supports option 'clf'.\n", file, linenum, args[1]); err_code |= ERR_ALERT | ERR_FATAL; goto out; }