Radish alpha
H
rad:z3QDZAW2FAfuLvihrhiyDC9fAD8G9
HardenedBSD Package Manager
Radicle
Git
curl: now fully compatible with libfetch HTTP_AUTH
Baptiste Daroussin committed 2 years ago
commit d93bf40d0d047d25588ba34a82567c190a2c1a42
parent 6e6c9ad
1 file changed +1 -1
modified libpkg/fetch_libcurl.c
@@ -349,7 +349,7 @@ curl_fetch(struct pkg_repo *repo, int dest, struct fetch_item *fi)
	struct http_mirror *http_current = NULL;
	char *urlpath = NULL;
	const char *relpath = NULL;
-
	const char *userpasswd = getenv("HTTP_AUTH");
+
	const char *userpasswd = get_http_auth();

	struct curl_repodata *cr = (struct curl_repodata *)repo->fetch_priv;