]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: counters: factor out smp_fetch_sc*_sess_cnt
authorWilly Tarreau <w@1wt.eu>
Tue, 23 Jul 2013 13:35:33 +0000 (15:35 +0200)
committerWilly Tarreau <w@1wt.eu>
Thu, 1 Aug 2013 19:17:13 +0000 (21:17 +0200)
commit20843087f5107e2cb3202f27e101be283f73e51d
treedabe1a7e54892cda2590f45c444b48a374187629
parentf44a5534763e7ad6a576d06f0535e35d2db1f12e
MEDIUM: counters: factor out smp_fetch_sc*_sess_cnt

smp_fetch_sc0_sess_cnt, smp_fetch_sc1_sess_cnt, smp_fetch_sc2_sess_cnt,
smp_fetch_src_sess_cnt and smp_fetch_sess_cnt were merged into a single
function which relies on the fetch name to decide what to return.
src/session.c