mirror of
https://github.com/curl/curl.git
synced 2026-05-06 14:37:28 +03:00
url: fix compiler warning in no-verbose builds
Follow-up from 2f0bb864c1
Closes #7700
This commit is contained in:
parent
94da56269f
commit
e41e1b2a4d
1 changed files with 2 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue