]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: counters: factor out smp_fetch_sc*_bytes_in_rate
authorWilly Tarreau <w@1wt.eu>
Tue, 23 Jul 2013 15:39:19 +0000 (17:39 +0200)
committerWilly Tarreau <w@1wt.eu>
Thu, 1 Aug 2013 19:17:14 +0000 (21:17 +0200)
commit613fe99cda5e0fde53aa9d09c5e469829b352425
treee0caa937ee3ba27482eae4fb693868c35a31107a
parent5077d4b261764f70584c9a5249816e26c7de8fe1
MEDIUM: counters: factor out smp_fetch_sc*_bytes_in_rate

smp_fetch_sc0_bytes_in_rate, smp_fetch_sc1_bytes_in_rate, smp_fetch_sc2_bytes_in_rate,
smp_fetch_src_bytes_in_rate and smp_fetch_bytes_in_rate were merged into a single
function which relies on the fetch name to decide what to return.
src/session.c