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