From 4d7d375122110687baace973b7867090e43ba008 Mon Sep 17 00:00:00 2001 From: braga Date: Mon, 10 Apr 2006 22:31:19 +0000 Subject: [PATCH] SKIP_PASV_IP is not defined in older version of libcurl. --- ftpfs.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ftpfs.c b/ftpfs.c index 6cb7fe0..d44ecf4 100644 --- a/ftpfs.c +++ b/ftpfs.c @@ -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) {