multi: change prefix for the network change bits to CURLMNWC_

Because "CURLM_" is used for curl multi error codes and it is convenient
to use the prefix to identify the number family.

Closes #18176
This commit is contained in:
Daniel Stenberg 2025-08-05 11:39:32 +02:00
parent 96ff6b98b4
commit 3689ef21bd
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
5 changed files with 27 additions and 27 deletions

View file

@ -3244,13 +3244,13 @@ CURLMcode curl_multi_setopt(CURLM *m,
}
break;
case CURLMOPT_NETWORK_CHANGED: {
long val = va_arg(param, long);
if(val & CURLM_NWCOPT_CLEAR_DNS) {
Curl_dnscache_clear(multi->admin);
}
if(val & CURLM_NWCOPT_CLEAR_CONNS) {
Curl_cpool_nw_changed(multi->admin);
}
long val = va_arg(param, long);
if(val & CURLMNWC_CLEAR_DNS) {
Curl_dnscache_clear(multi->admin);
}
if(val & CURLMNWC_CLEAR_CONNS) {
Curl_cpool_nw_changed(multi->admin);
}
break;
}
default: