Radish alpha
H
rad:z3QDZAW2FAfuLvihrhiyDC9fAD8G9
HardenedBSD Package Manager
Radicle
Git
Really fix this time
Baptiste Daroussin committed 13 years ago
commit bca5721d34f73e1ef33fe5e8b18362302bae8152
parent b0c2fd8
1 file changed +3 -1
modified libpkg/update.c
@@ -50,12 +50,14 @@ remote_add_indexes(const char *reponame)
{
	struct pkgdb *db = NULL;
	int ret = EPKG_FATAL;
+
	char repo[MAXPATHLEN];

	if (pkgdb_open(&db, PKGDB_REMOTE) != EPKG_OK)
		goto cleanup;

+
	snprintf(repo, sizeof(repo), "repo-%s", reponame);
	/* Initialize the remote remote */
-
	if (pkgdb_remote_init(db, reponame) != EPKG_OK)
+
	if (pkgdb_remote_init(db, repo) != EPKG_OK)
		goto cleanup;

	ret = EPKG_OK;