]> granicus.if.org Git - curl/commit
ftp_do_more: don't return success until all is done
authorDaniel Stenberg <daniel@haxx.se>
Fri, 23 Dec 2011 23:12:00 +0000 (00:12 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 23 Dec 2011 23:12:00 +0000 (00:12 +0100)
commit99a12baa34b59b14d9b43c00e882cfe1d6b0403d
treea34a7332c8c28e4c284045db341ae91a93d07e03
parent4f8db8bf957b4e3efafa517ba14770dac7781204
ftp_do_more: don't return success until all is done

ftp_do_more() returns after accepting the server connect however it
needs to fall through and set "*complete" to TRUE before exit from the
function.

Bug: http://curl.haxx.se/mail/lib-2011-12/0250.html
Reported by: Gokhan Sengun
lib/ftp.c