Blame SOURCES/0015-curl-Remove-some-useless-debug-messages.patch

60545c
From 0aa8e873e626c8af5f47e2e9896f33dcff4d7bb6 Mon Sep 17 00:00:00 2001
60545c
From: "Richard W.M. Jones" <rjones@redhat.com>
60545c
Date: Sat, 28 Mar 2020 16:59:55 +0000
60545c
Subject: [PATCH 15/19] curl: Remove some useless debug messages.
60545c
60545c
You can get the same information by setting -D curl.verbose=1
60545c
60545c
(cherry picked from commit e3539d55241adcbf1bc8102c019a0dd0ae8a3407)
60545c
---
60545c
 plugins/curl/curl.c | 6 ------
60545c
 1 file changed, 6 deletions(-)
60545c
60545c
diff --git a/plugins/curl/curl.c b/plugins/curl/curl.c
60545c
index 007449bc..8b341ae0 100644
60545c
--- a/plugins/curl/curl.c
60545c
+++ b/plugins/curl/curl.c
60545c
@@ -311,8 +311,6 @@ curl_open (int readonly)
60545c
     goto err;
60545c
   }
60545c
 
60545c
-  nbdkit_debug ("opened libcurl easy handle");
60545c
-
60545c
   /* Note this writes the output to stderr directly.  We should
60545c
    * consider using CURLOPT_DEBUGFUNCTION so we can handle it with
60545c
    * nbdkit_debug.
60545c
@@ -340,8 +338,6 @@ curl_open (int readonly)
60545c
     goto err;
60545c
   }
60545c
 
60545c
-  nbdkit_debug ("set libcurl URL: %s", url);
60545c
-
60545c
   curl_easy_setopt (h->c, CURLOPT_AUTOREFERER, 1);
60545c
   curl_easy_setopt (h->c, CURLOPT_FOLLOWLOCATION, 1);
60545c
   curl_easy_setopt (h->c, CURLOPT_FAILONERROR, 1);
60545c
@@ -436,8 +432,6 @@ curl_open (int readonly)
60545c
     curl_easy_setopt (h->c, CURLOPT_READDATA, h);
60545c
   }
60545c
 
60545c
-  nbdkit_debug ("returning new handle %p", h);
60545c
-
60545c
   return h;
60545c
 
60545c
  err:
60545c
-- 
60545c
2.18.2
60545c