aboutsummaryrefslogtreecommitdiff
path: root/utf8.c
diff options
context:
space:
mode:
authorOmar Polo <op@omarpolo.com>2021-01-11 13:08:00 +0000
committerOmar Polo <op@omarpolo.com>2021-01-11 13:08:00 +0000
commit3c1cf9d07cb679ba444566159538b510902f2de9 (patch)
tree3f3e8abbbddd868cd3553bb6d7e15d5667f266f6 /utf8.c
parent28778244d67be7024868a5095e5eedda22a3ed98 (diff)
s/uri/iri since we accept IRIs
Diffstat (limited to 'utf8.c')
-rw-r--r--utf8.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/utf8.c b/utf8.c
index 09aad1c..8f530b0 100644
--- a/utf8.c
+++ b/utf8.c
@@ -64,8 +64,8 @@ valid_multibyte_utf8(struct parser *p)
{
uint32_t cp = 0, state = 0;
- for (; *p->uri; p->uri++)
- if (!utf8_decode(&state, &cp, *p->uri))
+ for (; *p->iri; p->iri++)
+ if (!utf8_decode(&state, &cp, *p->iri))
break;
/* reject the ASCII range */