aboutsummaryrefslogtreecommitdiff
path: root/lib/ftp.h
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2002-12-03 10:25:31 +0000
committerDaniel Stenberg <daniel@haxx.se>2002-12-03 10:25:31 +0000
commitd0b97f7e1fc0460080883155ab6ce65e27f59c6d (patch)
treed7a2281c530a097290eec1d948e9c189545fe058 /lib/ftp.h
parent199a0311e2b0eff5366f2ed4545278c115c5f9da (diff)
Curl_GetFTPResponse() takes a different set of parameters and now return a
proper CURLcode. The default timeout for reading one response is now also possible to change while running.
Diffstat (limited to 'lib/ftp.h')
-rw-r--r--lib/ftp.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/ftp.h b/lib/ftp.h
index 2f8c15a91..60440db0a 100644
--- a/lib/ftp.h
+++ b/lib/ftp.h
@@ -29,8 +29,8 @@ CURLcode Curl_ftp_done(struct connectdata *conn);
CURLcode Curl_ftp_connect(struct connectdata *conn);
CURLcode Curl_ftp_disconnect(struct connectdata *conn);
CURLcode Curl_ftpsendf(struct connectdata *, const char *fmt, ...);
-int Curl_GetFTPResponse(char *buf, struct connectdata *conn,
- int *ftpcode);
+CURLcode Curl_GetFTPResponse(int *nread, struct connectdata *conn,
+ int *ftpcode);
CURLcode Curl_ftp_nextconnect(struct connectdata *conn);
#endif