]> git.ipfire.org Git - thirdparty/haproxy.git/commit
[CLEANUP] stream_interface: remove the applet.handler pointer
authorWilly Tarreau <w@1wt.eu>
Thu, 10 Mar 2011 10:17:02 +0000 (11:17 +0100)
committerWilly Tarreau <w@1wt.eu>
Thu, 10 Mar 2011 22:32:15 +0000 (23:32 +0100)
commit7c0a151a2e6f7ea7e6290865e41cac4c9c294538
treed524dcdbe6e1e0d64329e8c30d1a700e4e671398
parentac82540c3547624887e2901928f549c84c0c6892
[CLEANUP] stream_interface: remove the applet.handler pointer

Now that we have the target pointer and type in the stream interface,
we don't need the applet.handler pointer anymore. That makes the code
somewhat cleaner because we know we're dealing with an applet by checking
its type instead of checking the pointer is not null.
include/types/stream_interface.h
src/peers.c
src/session.c
src/stream_interface.c
src/stream_sock.c