Radish alpha
H
HardenedBSD Package Manager
Radicle
Git (anonymous pull)
Log in to clone via SSH
Fix the "download size calculation fix" :)
Marin Atanasov Nikolov committed 14 years ago
commit 00eabcfc76ae703f02ffa3ecd90a9c7ec7d84ed2
parent 3fcffc830cd12444e8776029d6b3e6335d42ccbe
1 file changed +1 -1
modified libpkg/pkg_jobs.c
@@ -327,7 +327,7 @@ pkg_jobs_fetch(struct pkg_jobs *j)
	/* check for available size to fetch */
	while (pkg_jobs(j, &p) == EPKG_OK) {
		int64_t pkgsize;
-
		pkg_get(p, PKG_NEW_PKGSIZE, &pkgsize, PKG_REPOPATH, repopath);
+
		pkg_get(p, PKG_NEW_PKGSIZE, &pkgsize, PKG_REPOPATH, &repopath);
		snprintf(cachedpath, MAXPATHLEN, "%s/%s", cachedir, repopath);
		if (stat(cachedpath, &st) == -1)
			dlsize += pkgsize;