From: Christopher Faulet Date: Tue, 28 Nov 2023 10:21:40 +0000 (+0100) Subject: CLEANUP: log: Fix %rc comment in sess_build_logline() X-Git-Tag: v2.9-dev12~35 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=07691a2e7c38501f44cfeaf657c1952e3c28a1f4;p=thirdparty%2Fhaproxy.git CLEANUP: log: Fix %rc comment in sess_build_logline() %rq was used instead of %rc. --- diff --git a/src/log.c b/src/log.c index 96f53bc493..156bf61cb6 100644 --- a/src/log.c +++ b/src/log.c @@ -3244,7 +3244,7 @@ int sess_build_logline(struct session *sess, struct stream *s, char *dst, size_t last_isspace = 0; break; - case LOG_FMT_RETRIES: // %rq + case LOG_FMT_RETRIES: // %rc if (s_flags & SF_REDISP) LOGCHAR('+'); ret = ltoa_o((s ? s->conn_retries : 0), tmplog, dst + maxsize - tmplog);