summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAaron Griffin <aaron@archlinux.org>2007-04-23 06:01:37 +0200
committerAaron Griffin <aaron@archlinux.org>2007-04-23 06:01:37 +0200
commit5299115020d377fb6a6e4e1094e3a09c2abf88c1 (patch)
tree521e3d9f961303c19372942ec030e83bd2e7e234
parentc6a335501c73bf2cffa6e31b615da118b43d0229 (diff)
downloadpacman-5299115020d377fb6a6e4e1094e3a09c2abf88c1.tar.gz
pacman-5299115020d377fb6a6e4e1094e3a09c2abf88c1.tar.xz
* Nagy Gabor <ngaba@petra.hos.u-szeged.hu>
Using the wrong variable in sortbydeps
-rw-r--r--lib/libalpm/deps.c2
1 files changed, 1 insertions, 1 deletions
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);
}