Radish alpha
H
rad:z3QDZAW2FAfuLvihrhiyDC9fAD8G9
HardenedBSD Package Manager
Radicle
Git
Allow ssh://user@host:</path> as url scheme
Baptiste Daroussin committed 6 years ago
commit 37439ca7995ba20557f8c9b8fe31c199793c4d12
parent 1e5846f
1 file changed +3 -1
modified external/libfetch/fetch.c
@@ -426,7 +426,9 @@ fetchParseURL(const char *URL)
				goto ouch;
			}
		}
-
		if (n < 1 || n > IPPORT_MAX)
+
		/* pkg extension allow for ssh compat */
+
		/*if (n < 1 || n > IPPORT_MAX) */
+
		if (n < 0 || n > IPPORT_MAX)
			goto ouch;
		u->port = n;
		p = q;