[Frugalware-darcs] pacman-g2: sync_synctree(): fix search in case there are multiple repos configured

VMiklos vmiklos at frugalware.org
Sat Jul 21 13:47:24 CEST 2007


Darcsweb-Url: http://darcs.frugalware.org/darcsweb/darcsweb.cgi?r=pacman-g2;a=darcs_commitdiff;h=20070721114532-e2957-654719e4f6aeadfcb1bd4520b5ce2ce272a0baf6.gz;

[sync_synctree(): fix search in case there are multiple repos configured
VMiklos <vmiklos at frugalware.org>**20070721114532] {
hunk ./src/pacman-g2/sync.c 82
-	list_t *i;
+	list_t *i, *j;
hunk ./src/pacman-g2/sync.c 85
-	for(i = targets; i; i = i->next) {
-		pacman_set_option(PM_OPT_NEEDLES, (long)i->data);
-	}
hunk ./src/pacman-g2/sync.c 88
+
+		for(j = targets; j; j = j->next) {
+			pacman_set_option(PM_OPT_NEEDLES, (long)j->data);
+		}
}


More information about the Frugalware-darcs mailing list