mirror of
https://github.com/moparisthebest/curl
synced 2024-12-21 23:58:49 -05:00
Setting CURLOPT_PASSWDFUNCTION to NULL now restores the internal function.
This commit is contained in:
parent
bc9705f758
commit
e1bae4fc7e
@ -752,7 +752,11 @@ CURLcode Curl_setopt(struct SessionHandle *data, CURLoption option, ...)
|
||||
* Progress callback function
|
||||
*/
|
||||
data->set.fprogress = va_arg(param, curl_progress_callback);
|
||||
if(data->set.fprogress)
|
||||
data->progress.callback = TRUE; /* no longer internal */
|
||||
else
|
||||
data->progress.callback = FALSE; /* NULL enforces internal */
|
||||
|
||||
break;
|
||||
case CURLOPT_PROGRESSDATA:
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user