]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
CLEANUP: log: fix comment of parse_logformat_string()
authorIlya Shipitsin <chipitsine@gmail.com>
Sat, 4 Apr 2020 07:59:53 +0000 (12:59 +0500)
committerWilliam Lallemand <wlallemand@haproxy.org>
Tue, 21 Apr 2020 08:52:25 +0000 (10:52 +0200)
"fmt" is passed to parse_logformat_string, adjust comment
accordingly

src/log.c

index c2153b84a8b215bff505c7f736aba63e6e5cb76f..5204de2b2d343e20c98428eaa7e7d3f32835f4d2 100644 (file)
--- a/src/log.c
+++ b/src/log.c
@@ -551,7 +551,7 @@ int add_sample_to_logformat_list(char *text, char *arg, int arg_len, struct prox
  * You can set arguments using { } : %{many arguments}varname.
  * The curproxy->conf.args.ctx must be set by the caller.
  *
- *  str: the string to parse
+ *  fmt: the string to parse
  *  curproxy: the proxy affected
  *  list_format: the destination list
  *  options: LOG_OPT_* to force on every node