multi: notify rename, remove the last stragglers

in the public API.

Follow-up to 357808f4ad

Closes #18910
This commit is contained in:
Stefan Eissing 2025-10-07 13:40:05 +02:00 committed by Daniel Stenberg
parent 7ddbde4f73
commit 53be8166b2
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
9 changed files with 20 additions and 20 deletions

View file

@ -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);