Commit Diff


commit - a165601e7e2641edcf7b36be8ce9c03ab281fd99
commit + 870edfb9f7fcd981eb681c9c59072f82c9a6891f
blob - a95449659fd9a1b6d311f3ae106dd7544d79d1df
blob + c2e50229499342449994e98f460ce21e25b1681c
--- iri.c
+++ iri.c
@@ -224,7 +224,7 @@ parse_authority(const char *s, struct iri *iri)
 		return (NULL);
 
 	if (*t == ':')
-		return (parse_port(t, iri));
+		return (parse_port(t + 1, iri));
 
 	return (t);
 }