Loading lib/ftp.c +21 −22 Original line number Diff line number Diff line Loading @@ -848,10 +848,8 @@ CURLcode _ftp(struct connectdata *conn) if(nread < 0) return CURLE_OPERATION_TIMEOUTED; if(ftpcode != 213) { failf(data, "Couldn't get file size: %s", buf+4); return CURLE_FTP_COULDNT_GET_SIZE; } if(ftpcode == 213) { /* get the size from the ascii string: */ filesize = atoi(buf+4); Loading @@ -877,6 +875,7 @@ CURLcode _ftp(struct connectdata *conn) return result; } #endif } return CURLE_OK; } Loading Loading
lib/ftp.c +21 −22 Original line number Diff line number Diff line Loading @@ -848,10 +848,8 @@ CURLcode _ftp(struct connectdata *conn) if(nread < 0) return CURLE_OPERATION_TIMEOUTED; if(ftpcode != 213) { failf(data, "Couldn't get file size: %s", buf+4); return CURLE_FTP_COULDNT_GET_SIZE; } if(ftpcode == 213) { /* get the size from the ascii string: */ filesize = atoi(buf+4); Loading @@ -877,6 +875,7 @@ CURLcode _ftp(struct connectdata *conn) return result; } #endif } return CURLE_OK; } Loading