aboutsummaryrefslogtreecommitdiff
path: root/puny.c
diff options
context:
space:
mode:
authorOmar Polo <op@omarpolo.com>2021-01-28 16:33:20 +0000
committerOmar Polo <op@omarpolo.com>2021-01-28 16:33:20 +0000
commit415ac7a229aa653458e1bb571afe717fd4779afa (patch)
tree49f5c31a2e8a782307c1c2ee906fdf59392501fd /puny.c
parent75fbb1789e8009882ee90e4d76d5907003e5660d (diff)
fix build
Diffstat (limited to 'puny.c')
-rw-r--r--puny.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/puny.c b/puny.c
index c00314c..c84f4e0 100644
--- a/puny.c
+++ b/puny.c
@@ -225,7 +225,7 @@ puny_decode(const char *hostname, char *out, size_t len)
s = hostname;
for (;;) {
- end = end_of_component(s);
+ end = end_of_label(s);
l = end - s;
if (l >= sizeof(label))
return 0;