Skip to content

Commit

Permalink
CLEANUP: log: Fix %rc comment in sess_build_logline()
Browse files Browse the repository at this point in the history
%rq was used instead of %rc.
  • Loading branch information
capflam committed Nov 29, 2023
1 parent 61749d7 commit 07691a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/log.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 07691a2

Please sign in to comment.