You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

29 lines
1020 B

  1. From 629b1c000b26f0031246b9b529680b275a14118f Mon Sep 17 00:00:00 2001
  2. From: William Lallemand <wlallemand@haproxy.com>
  3. Date: Thu, 28 May 2015 18:02:48 +0200
  4. Subject: [PATCH 13/14] BUG/MINOR: cfgparse: fix typo in 'option httplog' error
  5. message
  6. The error message was displaying the wrong argument when 'option
  7. httplog' took a wrong argument.
  8. (cherry picked from commit 77063bc0c6ceb4257c4e2c08411811ecc48be1aa)
  9. ---
  10. src/cfgparse.c | 2 +-
  11. 1 file changed, 1 insertion(+), 1 deletion(-)
  12. diff --git a/src/cfgparse.c b/src/cfgparse.c
  13. index e04eff8..3c3383d 100644
  14. --- a/src/cfgparse.c
  15. +++ b/src/cfgparse.c
  16. @@ -3792,7 +3792,7 @@ stats_error_parsing:
  17. curproxy->options2 |= PR_O2_CLFLOG;
  18. logformat = clf_http_log_format;
  19. } else {
  20. - Alert("parsing [%s:%d] : keyword '%s' only supports option 'clf'.\n", file, linenum, args[2]);
  21. + Alert("parsing [%s:%d] : keyword '%s' only supports option 'clf'.\n", file, linenum, args[1]);
  22. err_code |= ERR_ALERT | ERR_FATAL;
  23. goto out;
  24. }
  25. --
  26. 2.0.5