haproxy/include
Simon Horman 5269cfb458 BUG/MINOR: Correct logic in cut_crlf()
This corrects what appears to be logic errors in cut_crlf().
I assume that the intention of this function is to truncate a
string at the first cr or lf. However, currently lf are ignored.

Also use '\0' instead of 0 as the null character, a cosmetic change.

Cc: Krzysztof Piotr Oledzki <ole@ans.pl>
Signed-off-by: Simon Horman <horms@verge.net.au>

[WT: this fix may be backported to 1.4 too]
2013-02-13 10:52:40 +01:00
..
common BUG/MINOR: Correct logic in cut_crlf() 2013-02-13 10:52:40 +01:00
import
proto BUG/MEDIUM: log: emit '-' for empty fields again 2013-02-05 18:55:09 +01:00
types MEDIUM: New cli option -Ds for systemd compatibility 2013-02-13 10:47:49 +01:00