]> git.ipfire.org Git - thirdparty/haproxy.git/commit
[MEDIUM] simplify error path in event_accept()
authorWilly Tarreau <w@1wt.eu>
Sun, 4 Nov 2007 16:51:50 +0000 (17:51 +0100)
committerWilly Tarreau <w@1wt.eu>
Sun, 4 Nov 2007 21:41:52 +0000 (22:41 +0100)
commit8ced9a4b91630709ca286a437e362d34cbe0fcf6
treee1e3908521a90820f88385e55e990847d888e64e
parent396d2c67828594489ae11982bd6d4b99d6ca315d
[MEDIUM] simplify error path in event_accept()

The error path in event_accept() was complicated by many code
duplications. Use the classical unrolling with the gotos. This
fix alone reduced the code by 2.5 kB.
src/client.c