mirror of
https://github.com/curl/curl.git
synced 2026-04-15 02:21:41 +03:00
Update lib/urlapi.c
Co-authored-by: Viktor Szakats <vszakats@users.noreply.github.com>
This commit is contained in:
parent
f48ae36221
commit
a29efdd63d
1 changed files with 1 additions and 1 deletions
|
|
@ -1582,7 +1582,7 @@ CURLUcode curl_url_get(const CURLU *u, CURLUPart what,
|
|||
case CURLUPART_PORT:
|
||||
ptr = u->port;
|
||||
ifmissing = CURLUE_NO_PORT;
|
||||
flags &= ~ U_CURLU_URLDECODE; /* never for port */
|
||||
flags &= ~U_CURLU_URLDECODE; /* never for port */
|
||||
if(!ptr && (flags & CURLU_DEFAULT_PORT) && u->scheme) {
|
||||
/* there is no stored port number, but asked to deliver
|
||||
a default one for the scheme */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue