blob: 96e65705c432e6965c995ce45f56521398802ddf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
$NetBSD: patch-ad,v 1.1 2006/11/12 04:21:07 rillig Exp $
--- modules/scheme/curl/curl.c.orig 2003-01-01 07:22:34.000000000 +0100
+++ modules/scheme/curl/curl.c 2006-11-12 05:16:12.000000000 +0100
@@ -51,7 +51,9 @@ schemeGet(const char *scheme, const char
curl_easy_setopt(curl, CURLOPT_URL, url);
curl_easy_setopt(curl, CURLOPT_NOPROGRESS, 1);
+#if LIBCURL_VERSION_NUM < 0x71000
curl_easy_setopt(curl, CURLOPT_MUTE, 1);
+#endif
curl_easy_setopt(curl, CURLOPT_FILE, fp);
res = curl_easy_perform(curl);
|