diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/ftp.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -875,7 +875,7 @@ static CURLcode ftp_state_use_port(struct connectdata *conn, * IPv6-specific section */ struct Curl_sockaddr_storage ss; - Curl_ addrinfo *res, *ai; + Curl_addrinfo *res, *ai; socklen_t sslen; char hbuf[NI_MAXHOST]; struct sockaddr *sa=(struct sockaddr *)&ss; @@ -1541,7 +1541,7 @@ static CURLcode ftp_state_ul_setup(struct connectdata *conn, curl_off_t readthisamountnow = data->state.resume_from; if(conn->seek_func(conn->seek_client, - readthisamountnow, SEEK_SET) != 0) { + readthisamountnow, SEEK_SET) != 0) { failf(data, "Could not seek stream"); return CURLE_FTP_COULDNT_USE_REST; } |