]> git.ipfire.org Git - thirdparty/haproxy.git/commit
CLEANUP: hlua: stop using variable name "s" alternately for hlua_txn and hlua_smp
authorWilly Tarreau <w@1wt.eu>
Mon, 6 Apr 2015 09:11:15 +0000 (11:11 +0200)
committerWilly Tarreau <w@1wt.eu>
Mon, 6 Apr 2015 09:11:15 +0000 (11:11 +0200)
commitb2ccb5644bb180236ce88eb3073191a5dd70ae7d
tree3ce3b2308b7fde21c405b413f0c29f0b7e5ab853
parentde49138b9ca56406bffaceb9f32c61442a1a18d3
CLEANUP: hlua: stop using variable name "s" alternately for hlua_txn and hlua_smp

hlua_run_sample_fetch() uses "struct hlua_smp *s" which starts to become
confusing when "s->s" is used, then hlua_txn_close() uses this for struct
hlua_txn with the same "s->s" everywhere. Let's uniformize everything with
htxn and hsmp as in other places.
src/hlua.c