summaryrefslogtreecommitdiff
path: root/lib/ftp.h
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2004-05-12 12:06:39 +0000
committerDaniel Stenberg <daniel@haxx.se>2004-05-12 12:06:39 +0000
commitd60c22572b49cde9b839a59510580df079d2d5e2 (patch)
treec67a83d1a6216ec2be4f39117f1934650a67989e /lib/ftp.h
parent1d7ce36791f32039383236e4940994c41cb2a0bf (diff)
downloadcurl-d60c22572b49cde9b839a59510580df079d2d5e2.tar.gz
Curl_done() and the protocol-specific conn->curl_done() functions now all
take a CURLcode as a second argument, that is non-zero when Curl_done() is called after an error was returned from Curl_do() (or similar).
Diffstat (limited to 'lib/ftp.h')
-rw-r--r--lib/ftp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ftp.h b/lib/ftp.h
index 3d0ab7dac..dc7cf79c0 100644
--- a/lib/ftp.h
+++ b/lib/ftp.h
@@ -25,7 +25,7 @@
#ifndef CURL_DISABLE_FTP
CURLcode Curl_ftp(struct connectdata *conn);
-CURLcode Curl_ftp_done(struct connectdata *conn);
+CURLcode Curl_ftp_done(struct connectdata *conn, CURLcode);
CURLcode Curl_ftp_connect(struct connectdata *conn);
CURLcode Curl_ftp_disconnect(struct connectdata *conn);
CURLcode Curl_ftpsendf(struct connectdata *, const char *fmt, ...);