Curl_pp_readresp: zero terminate line
authorDaniel Stenberg <daniel@haxx.se>
Sat, 21 Dec 2013 23:17:58 +0000 (00:17 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Sat, 21 Dec 2013 23:20:13 +0000 (00:20 +0100)
commitbf468fb58950480289450b94943f1dec0185f739
tree143bdb63aa7c66f6b7975c76645a3785380ba101
parentca4506b46a8fffaf27cef64ea113312b498eb25e
Curl_pp_readresp: zero terminate line

The comment in the code mentions the zero terminating after having
copied data, but it mistakingly zero terminated the source data and not
the destination! This caused the test 864 problem discussed on the list:

http://curl.haxx.se/mail/lib-2013-12/0113.html
Signed-off-by: Daniel Stenberg <daniel@haxx.se>
lib/pingpong.c