Hello,

small fix attached.

Ilya Shipitcin
From 2cf4b1a3baab84e420dcbbdf084c8138b2f8bd25 Mon Sep 17 00:00:00 2001
From: Ilya Shipitsin <[email protected]>
Date: Sat, 4 Apr 2020 12:59:53 +0500
Subject: [PATCH] CLEANUP: src/log.c: fix comment

"fmt" is passed to parse_logformat_string, adjust comment
accordingly
---
 src/log.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/log.c b/src/log.c
index 2cac07486..89639e99f 100644
--- a/src/log.c
+++ b/src/log.c
@@ -550,7 +550,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
-- 
2.25.1

Reply via email to