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
This commit is contained in:
Rickard Hallerbäck 2019-12-20 09:40:38 +01:00 committed by Daniel Stenberg
parent a90d763548
commit 5257872695
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2

View File

@ -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 */