diff options
author | Rickard Hallerbäck <riha@kvaser.com> | 2019-12-20 09:40:38 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2019-12-20 11:05:38 +0100 |
commit | 525787269599b50416965ac77d96e07a5fe1ab52 (patch) | |
tree | 102e597e06813f77c3dad42814ba91a02ee9d21e | |
parent | a90d763548f8598dc544ca74719ac60d96135e31 (diff) |
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
-rw-r--r-- | docs/examples/url2file.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 */ |