mirror of
https://github.com/curl/curl.git
synced 2026-08-02 06:30:33 +03:00
multi: notify rename, remove the last stragglers
in the public API.
Follow-up to 357808f4ad
Closes #18910
This commit is contained in:
parent
7ddbde4f73
commit
53be8166b2
9 changed files with 20 additions and 20 deletions
|
|
@ -1736,7 +1736,7 @@ static void mnotify(CURLM *multi, unsigned int notification,
|
|||
(void)easy;
|
||||
|
||||
switch(notification) {
|
||||
case CURLM_NTFY_INFO_READ:
|
||||
case CURLM_NOTIFY_INFO_READ:
|
||||
result = check_finished(s);
|
||||
/* remember first failure */
|
||||
if(result && !s->result)
|
||||
|
|
@ -1766,7 +1766,7 @@ static CURLcode parallel_transfers(CURLSH *share)
|
|||
|
||||
(void)curl_multi_setopt(s->multi, CURLMOPT_NOTIFYFUNCTION, mnotify);
|
||||
(void)curl_multi_setopt(s->multi, CURLMOPT_NOTIFYDATA, s);
|
||||
(void)curl_multi_notify_enable(s->multi, CURLM_NTFY_INFO_READ);
|
||||
(void)curl_multi_notify_enable(s->multi, CURLM_NOTIFY_INFO_READ);
|
||||
|
||||
result = add_parallel_transfers(s->multi, s->share,
|
||||
&s->more_transfers, &s->added_transfers);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue