From 525787269599b50416965ac77d96e07a5fe1ab52 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rickard=20Hallerb=C3=A4ck?= Date: Fri, 20 Dec 2019 09:40:38 +0100 Subject: examples/url2file.c: corrected a comment MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The comment was confusing and suggested that setting CURLOPT_NOPROGRESS to 0L would both enable and disable debug output at the same time, like a Schrödinger's cat of CURLOPTs. Closes #4745 --- docs/examples/url2file.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs') diff --git a/docs/examples/url2file.c b/docs/examples/url2file.c index 1bede8c18..099f0aee5 100644 --- a/docs/examples/url2file.c +++ b/docs/examples/url2file.c @@ -57,7 +57,7 @@ int main(int argc, char *argv[]) /* Switch on full protocol/debug output while testing */ curl_easy_setopt(curl_handle, CURLOPT_VERBOSE, 1L); - /* disable progress meter, set to 0L to enable and disable debug output */ + /* disable progress meter, set to 0L to enable it */ curl_easy_setopt(curl_handle, CURLOPT_NOPROGRESS, 1L); /* send all data to this function */ -- cgit v1.2.3