diff options
author | Omar Polo <op@omarpolo.com> | 2021-01-15 15:21:51 +0000 |
---|---|---|
committer | Omar Polo <op@omarpolo.com> | 2021-01-15 15:21:51 +0000 |
commit | f7b816dc398efba2fb1cd4e2982ee3b23eed624f (patch) | |
tree | 308a24030716c151036c01d0acea0efdf5d4c0ef /iri.c | |
parent | dafb57b8af432d800219a8e17900e1ac56a65c14 (diff) |
style
Diffstat (limited to 'iri.c')
-rw-r--r-- | iri.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -97,12 +97,12 @@ parse_scheme(struct parser *p) } *p->iri = '\0'; - if (*(++p->iri) != '/' || *(++p->iri) != '/') { + if (p->iri[1] != '/' || p->iri[2] != '/') { p->err = "invalid marker after scheme"; return 0; } - p->iri++; + p->iri += 3; return 1; } |