CLEANUP: payload: remove useless and confusing nullity checks for channel buffer
authorWilly Tarreau <w@1wt.eu>
Thu, 10 Mar 2016 15:53:03 +0000 (16:53 +0100)
committerWilly Tarreau <w@1wt.eu>
Thu, 10 Mar 2016 16:28:04 +0000 (17:28 +0100)
commit4cefbc07529923d3d0e89fba52c2e037d70e664e
tree2915e8395e203882ec72ab7178567fb6449625f6
parent6204cd9f278c4e4733328a78dead6f3d0e69740f
CLEANUP: payload: remove useless and confusing nullity checks for channel buffer

The buffer could not be null by definition since we moved the stream out
of the session. It's the stream which gained the ability to be NULL (hence
the recent fix for this case). The checks in place are useless and make one
think this situation can happen.
src/payload.c