MEDIUM: counters: factor out smp_fetch_sc*_conn_cur
authorWilly Tarreau <w@1wt.eu>
Tue, 23 Jul 2013 13:17:53 +0000 (15:17 +0200)
committerWilly Tarreau <w@1wt.eu>
Thu, 1 Aug 2013 19:17:13 +0000 (21:17 +0200)
commitf44a5534763e7ad6a576d06f0535e35d2db1f12e
tree6fff718a3e5a4e9df70e1e869e7306444eebb276
parentc8c65700de05636693cdfbe9fb81f12b1c0b0f84
MEDIUM: counters: factor out smp_fetch_sc*_conn_cur

smp_fetch_sc0_conn_cur, smp_fetch_sc1_conn_cur, smp_fetch_sc2_conn_cur,
smp_fetch_src_conn_cur and smp_fetch_conn_cur were merged into a single
function which relies on the fetch name to decide what to return.
src/session.c