mirror of
https://github.com/curl/curl.git
synced 2026-05-05 00:29:56 +03:00
url.c fix mask
This commit is contained in:
parent
b728aedbd8
commit
53915af37e
1 changed files with 1 additions and 1 deletions
|
|
@ -1815,7 +1815,7 @@ static CURLcode setup_connection_internals(struct Curl_easy *data,
|
|||
/* IPv6 addresses with a scope_id (0 is default == global) have a
|
||||
* printable representation with a '%<scope_id>' suffix. */
|
||||
if(conn->scope_id)
|
||||
conn->destination = curl_maprintf("[%s:%u]%%%d", hostname, port,
|
||||
conn->destination = curl_maprintf("[%s:%u]%%%u", hostname, port,
|
||||
conn->scope_id);
|
||||
else
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue