]> granicus.if.org Git - curl/commit
pingpong: Optimised the endofresp() function
authorSteve Holme <steve_holme@hotmail.com>
Tue, 12 Feb 2013 18:08:48 +0000 (18:08 +0000)
committerSteve Holme <steve_holme@hotmail.com>
Tue, 12 Feb 2013 18:08:48 +0000 (18:08 +0000)
commitb56c9eb48e3cad89d35963f0934571bf5de48ab2
tree18f562555fbb0892ce15b25d293ea1edef9a0c95
parent586f5d36147478d58ea6204bfe8368364663d926
pingpong: Optimised the endofresp() function

Reworked the pp->endofresp() function so that the conndata, line and
line length are passed down to it just as with Curl_client_write()
rather than each implementation of the function having to query
these values.

Additionally changed the int return type to bool as this is more
representative of the function's usage.
lib/ftp.c
lib/imap.c
lib/pingpong.c
lib/pingpong.h
lib/pop3.c
lib/smtp.c