diff options
author | Daniel Stenberg <daniel@haxx.se> | 2002-12-03 10:25:31 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2002-12-03 10:25:31 +0000 |
commit | d0b97f7e1fc0460080883155ab6ce65e27f59c6d (patch) | |
tree | d7a2281c530a097290eec1d948e9c189545fe058 /lib/ftp.h | |
parent | 199a0311e2b0eff5366f2ed4545278c115c5f9da (diff) | |
download | curl-d0b97f7e1fc0460080883155ab6ce65e27f59c6d.tar.gz |
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.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |