]> git.ipfire.org Git - thirdparty/haproxy.git/commit
CLEANUP: logs: rename a confusing local variable "curr_rg" to "smp_rg"
authorWilly Tarreau <w@1wt.eu>
Wed, 20 Sep 2023 18:25:14 +0000 (20:25 +0200)
committerWilly Tarreau <w@1wt.eu>
Wed, 20 Sep 2023 19:38:33 +0000 (21:38 +0200)
commit49ddc0138cfeacde8701a029a0878ea3bfa2988f
tree9c9fe1d309463984e79486665b69529a4efa9409
parent3f1284560fce0012cc0d3eadbd458262f7fc1f82
CLEANUP: logs: rename a confusing local variable "curr_rg" to "smp_rg"

The variable curr_rg in process_send_log() is misleading because it is
not related to the integer curr_rg that's used to calculate it, instead
it's a pointer to the current smp_log_range from smp_rgs[], so let's call
it "smp_rg" as a singular for this "smp_rgs" and put an end to this
confusion.
src/log.c