SKIP_PASV_IP is not defined in older version of libcurl.

This commit is contained in:
braga
2006-04-10 22:31:19 +00:00
parent 726cc550ab
commit 4d7d375122

View File

@@ -824,7 +824,9 @@ static void set_common_curl_stuff() {
}
if (ftpfs.skip_pasv_ip) {
#ifdef CURLOPT_FTP_SKIP_PASV_IP
curl_easy_setopt_or_die(ftpfs.connection, CURLOPT_FTP_SKIP_PASV_IP, TRUE);
#endif
}
if (ftpfs.ftp_port) {