From 5299115020d377fb6a6e4e1094e3a09c2abf88c1 Mon Sep 17 00:00:00 2001 From: Aaron Griffin Date: Mon, 23 Apr 2007 04:01:37 +0000 Subject: * Nagy Gabor Using the wrong variable in sortbydeps --- lib/libalpm/deps.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/libalpm/deps.c b/lib/libalpm/deps.c index 137be645..9295fabe 100644 --- a/lib/libalpm/deps.c +++ b/lib/libalpm/deps.c @@ -163,7 +163,7 @@ alpm_list_t *_alpm_sortbydeps(alpm_list_t *targets, pmtranstype_t mode) for(l = alpm_pkg_get_provides(q); l; l = l->next) { const char *provname = l->data; if(!strcmp(depend->name, provname)) { - if(!_alpm_pkg_find(provname, tmptargs)) { + if(!_alpm_pkg_find(qname, tmptargs)) { change = 1; tmptargs = alpm_list_add(tmptargs, q); } -- cgit v1.2.3-24-g4f1b