mirror of
https://github.com/curl/curl.git
synced 2026-04-19 15:11:18 +03:00
Setting CURLOPT_PASSWDFUNCTION to NULL now restores the internal function.
This commit is contained in:
parent
bc9705f758
commit
e1bae4fc7e
1 changed files with 5 additions and 1 deletions
|
|
@ -752,7 +752,11 @@ CURLcode Curl_setopt(struct SessionHandle *data, CURLoption option, ...)
|
|||
* Progress callback function
|
||||
*/
|
||||
data->set.fprogress = va_arg(param, curl_progress_callback);
|
||||
data->progress.callback = TRUE; /* no longer internal */
|
||||
if(data->set.fprogress)
|
||||
data->progress.callback = TRUE; /* no longer internal */
|
||||
else
|
||||
data->progress.callback = FALSE; /* NULL enforces internal */
|
||||
|
||||
break;
|
||||
case CURLOPT_PROGRESSDATA:
|
||||
/*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue