MEDIUM: counters: factor out smp_fetch_sc*_kbytes_out
authorWilly Tarreau <w@1wt.eu>
Tue, 23 Jul 2013 15:39:02 +0000 (17:39 +0200)
committerWilly Tarreau <w@1wt.eu>
Thu, 1 Aug 2013 19:17:14 +0000 (21:17 +0200)
commit53aea10fe9835e59c40cb4aef29ff32b95e82e97
tree85004a1a5a3a50ec02ccef2a9d188ccd99c891c5
parent613fe99cda5e0fde53aa9d09c5e469829b352425
MEDIUM: counters: factor out smp_fetch_sc*_kbytes_out

smp_fetch_sc0_kbytes_out, smp_fetch_sc1_kbytes_out, smp_fetch_sc2_kbytes_out,
smp_fetch_src_kbytes_out and smp_fetch_kbytes_out were merged into a single
function which relies on the fetch name to decide what to return.
src/session.c