diff options
author | Nagy Gabor <ngaba@petra.hos.u-szeged.hu> | 2007-04-22 22:01:47 -0500 |
---|---|---|
committer | Aaron Griffin <aaronmgriffin@gmail.com> | 2007-04-22 22:01:47 -0500 |
commit | 8e694dc40f241bf33e1ca291faec5202aa41d0c9 (patch) | |
tree | 77f841a0eb5b7f7cecdb7880c1dc219f74a8ee29 /lib/libalpm/deps.c | |
parent | c523d78358321a5fb0baa010043d2c2ba8d16363 (diff) | |
download | pacman-8e694dc40f241bf33e1ca291faec5202aa41d0c9.tar.xz |
Using wrong variable for depend lookup in sortbydeps
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
Diffstat (limited to 'lib/libalpm/deps.c')
-rw-r--r-- | lib/libalpm/deps.c | 2 |
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); } |