diff options
author | Julien Chaffraix <julien.chaffraix@gmail.com> | 2010-09-26 22:35:00 -0700 |
---|---|---|
committer | Julien Chaffraix <julien.chaffraix@gmail.com> | 2010-09-28 22:05:24 -0700 |
commit | e3811ed7c34ed1818dc246af54460fea0fc52c02 (patch) | |
tree | 01a2f14c15034d2db39e7938e2e7bd79031a45bd /lib/ftp.c | |
parent | dacc44ddc2920cb1b2e3550bc803f7521c3166fa (diff) |
security.c: Remove Curl_sec_fflush_fd.
The current implementation would make us send wrong data on a closed
socket. We don't buffer our data so the method can be safely removed.
Diffstat (limited to 'lib/ftp.c')
-rw-r--r-- | lib/ftp.c | 4 |
1 files changed, 0 insertions, 4 deletions
@@ -3076,10 +3076,6 @@ static CURLcode ftp_done(struct connectdata *conn, CURLcode status, /* free the dir tree and file parts */ freedirs(ftpc); -#if defined(HAVE_KRB4) || defined(HAVE_GSSAPI) - Curl_sec_fflush_fd(conn, conn->sock[SECONDARYSOCKET]); -#endif - /* shut down the socket to inform the server we're done */ #ifdef _WIN32_WCE |