]> git.ipfire.org Git - thirdparty/haproxy.git/commit
CLEANUP: applet/table: add an "action" entry in ->table context
authorWilly Tarreau <w@1wt.eu>
Wed, 14 Dec 2016 14:50:35 +0000 (15:50 +0100)
committerWilly Tarreau <w@1wt.eu>
Wed, 14 Dec 2016 15:48:16 +0000 (16:48 +0100)
commita24bc78ad4148cf4ce6d44c7e9771298386253af
tree4cbf140e2135b75f47f6734672eee2977006dfd8
parent8ae4f7533d5dfe01c2fa15c4b1b803bc3aa7beaf
CLEANUP: applet/table: add an "action" entry in ->table context

Just like previous patch, this was the only other user of the "private"
field of the applet. It used to store a copy of the keyword's action.
Let's just put it into ->table->action and use it from there. It also
slightly simplifies the code by removing a few pointer to integer casts.
include/types/applet.h
src/stick_table.c