mirror of
https://github.com/curl/curl.git
synced 2025-04-06 16:10:34 +08:00
url: fix compiler warning in no-verbose builds
Follow-up from 2f0bb864c12 Closes #7700
This commit is contained in:
parent
94da56269f
commit
e41e1b2a4d
@ -1893,9 +1893,11 @@ static void zonefrom_url(CURLU *uh, struct Curl_easy *data,
|
||||
scopeidx = if_nametoindex(zoneid);
|
||||
#endif
|
||||
if(!scopeidx) {
|
||||
#ifndef CURL_DISABLE_VERBOSE_STRINGS
|
||||
char buffer[STRERROR_LEN];
|
||||
infof(data, "Invalid zoneid: %s; %s", zoneid,
|
||||
Curl_strerror(errno, buffer, sizeof(buffer)));
|
||||
#endif
|
||||
}
|
||||
else
|
||||
conn->scope_id = scopeidx;
|
||||
|
Loading…
x
Reference in New Issue
Block a user