diff options
author | Omar Polo <op@omarpolo.com> | 2021-01-15 18:24:24 +0000 |
---|---|---|
committer | Omar Polo <op@omarpolo.com> | 2021-01-15 18:24:24 +0000 |
commit | b777bf4b2be13429a31eaefdc89ceaf9fe252f24 (patch) | |
tree | fb357f67da8b779ca9d08f93076e0461a7339515 /iri.c | |
parent | f7b816dc398efba2fb1cd4e2982ee3b23eed624f (diff) |
check also that the port number matches
Diffstat (limited to 'iri.c')
-rw-r--r-- | iri.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -160,7 +160,8 @@ parse_authority(struct parser *p) *p->iri = '\0'; p->iri++; return parse_port(p); - } + } else + p->parsed->port_no = 1965; if (*p->iri == '/') { *p->iri = '\0'; |