[MINOR] stats: strip CR and LF from the input command line
authorWilly Tarreau <w@1wt.eu>
Sun, 4 Oct 2009 05:36:58 +0000 (07:36 +0200)
committerWilly Tarreau <w@1wt.eu>
Sun, 4 Oct 2009 07:19:42 +0000 (09:19 +0200)
commit816fc22a4a618bde48f6dd5e32499fa1459279b5
tree9d76ef50759cfe3488ccef440073458b5c86044a
parent33b230b34ae4f0646b6d16576b8d394b5153ae8f
[MINOR] stats: strip CR and LF from the input command line

commands sent from certain tools (eg: telnet) will be terminated
by CRLF and not only LF. So we must suppress CR too.
src/dumpstats.c