mirror of
https://github.com/curl/curl.git
synced 2024-11-27 05:50:21 +08:00
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:
parent
a90d763548
commit
5257872695
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user