Radish alpha
H
rad:z3QDZAW2FAfuLvihrhiyDC9fAD8G9
HardenedBSD Package Manager
Radicle
Git
Add a debug message to know where we are downloading from
Baptiste Daroussin committed 12 years ago
commit 7fe31d1e714b42f9378a7decb4a1113728397e40
parent bf538aa
1 file changed +6 -0
modified libpkg/fetch.c
@@ -323,6 +323,12 @@ pkg_fetch_file_to_fd(struct pkg_repo *repo, const char *url, int dest, time_t *t
			u->port = http_current->url->port;
		}

+
		pkg_debug(1,"Fetch: fetching from: %s://%s%s%s%s",
+
		    u->scheme,
+
		    u->user,
+
		    u->user[0] != '\0' ? "@" : "",
+
		    u->host,
+
		    u->doc);
		remote = fetchXGet(u, &st, "i");
		if (remote == NULL) {
			if (fetchLastErrCode == FETCH_OK) {