aboutsummaryrefslogtreecommitdiff
path: root/lib/ftp.c
diff options
context:
space:
mode:
authorJulien Chaffraix <julien.chaffraix@gmail.com>2010-09-26 22:35:00 -0700
committerJulien Chaffraix <julien.chaffraix@gmail.com>2010-09-28 22:05:24 -0700
commite3811ed7c34ed1818dc246af54460fea0fc52c02 (patch)
tree01a2f14c15034d2db39e7938e2e7bd79031a45bd /lib/ftp.c
parentdacc44ddc2920cb1b2e3550bc803f7521c3166fa (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.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/ftp.c b/lib/ftp.c
index e3f93870f..f1376d730 100644
--- a/lib/ftp.c
+++ b/lib/ftp.c
@@ -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