aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason Woodward2004-12-06 04:14:19 +0000
committerJason Woodward2004-12-06 04:14:19 +0000
commitf2ce866556d5f0a6ed8a51ea4356751a89b1161e (patch)
tree24dc95eda81f871bd5f6639c40306bc4b90e9308
parent09b72defcfe47ed8a1b7fc93f1706e54ef9437e6 (diff)
downloadslapt-get-f2ce866556d5f0a6ed8a51ea4356751a89b1161e.tar.gz
added comment /* this is a check for slack 9.0's curl libs */
-rw-r--r--src/curl.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/curl.c b/src/curl.c
index 0bdc8d2..eebabe3 100644
--- a/src/curl.c
+++ b/src/curl.c
@@ -35,6 +35,7 @@ int download_data(FILE *fh,const char *url,size_t bytes,int use_curl_dl_stats){
curl_easy_setopt(ch, CURLOPT_NOPROGRESS, 0);
curl_easy_setopt(ch, CURLOPT_USERAGENT, PROGRAM_NAME );
curl_easy_setopt(ch, CURLOPT_FTP_USE_EPSV, 0);
+/* this is a check for slack 9.0's curl libs */
#ifdef CURLOPT_FTP_USE_EPRT
curl_easy_setopt(ch, CURLOPT_FTP_USE_EPRT, 0);
#endif
@@ -114,6 +115,7 @@ char *head_request(const char *url){
curl_easy_setopt(ch, CURLOPT_HEADER, 1);
curl_easy_setopt(ch, CURLOPT_NOBODY, 1);
curl_easy_setopt(ch, CURLOPT_FTP_USE_EPSV , 0);
+/* this is a check for slack 9.0's curl libs */
#ifdef CURLOPT_FTP_USE_EPRT
curl_easy_setopt(ch, CURLOPT_FTP_USE_EPRT, 0);
#endif