]> git.ipfire.org Git - thirdparty/curl.git/commit
ftp_sendquote: use PPSENDF, not FTPSENDF
authorDaniel Stenberg <daniel@haxx.se>
Fri, 29 Mar 2013 20:19:45 +0000 (21:19 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 29 Mar 2013 20:19:45 +0000 (21:19 +0100)
commitca62ac69bbda381b3ba3a7b8bca63e82e84743ab
tree39e3bf0349be6cd2e210957e0b779eaf253ae032
parent048726a5a27e17bbd7d4db5382b2f2e92096b1c3
ftp_sendquote: use PPSENDF, not FTPSENDF

The last remaining code piece that still used FTPSENDF now uses PPSENDF.
In the problematic case, a PREQUOTE series was done on a re-used
connection when Curl_pp_init() hadn't been called so it had messed up
pointers. The init call is done properly from Curl_pp_sendf() so this
change fixes this particular crash.

Bug: http://curl.haxx.se/mail/lib-2013-03/0319.html
Reported by: Sam Deane
lib/ftp.c