From: Rickard Hallerbäck Date: Fri, 20 Dec 2019 08:40:38 +0000 (+0100) Subject: examples/url2file.c: corrected a comment X-Git-Tag: curl-7_68_0~28 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=525787269599b50416965ac77d96e07a5fe1ab52;p=thirdparty%2Fcurl.git examples/url2file.c: corrected a comment 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 --- diff --git a/docs/examples/url2file.c b/docs/examples/url2file.c index 1bede8c183..099f0aee5b 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 */