Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/lib/libalpm/deps.c
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2011-11-16 14:51:17 -0600
committerDan McGee <dan@archlinux.org>2011-11-16 14:51:17 -0600
commit919b604c29060b3b14162ef331dfccc018606919 (patch)
tree8d2a61eedb672149103829e0fd72660569bd1eb3 /lib/libalpm/deps.c
parentdee8144ce5ca96ceca643d74fd6152ecf812f8af (diff)
parentc79c068fe9b80ea9af831c8c883f27fad2e0d128 (diff)
Merge branch 'maint'
Diffstat (limited to 'lib/libalpm/deps.c')
-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 60401583..89f6d691 100644
--- a/lib/libalpm/deps.c
+++ b/lib/libalpm/deps.c
@@ -631,7 +631,7 @@ static alpm_pkg_t *resolvedep(alpm_handle_t *handle, alpm_depend_t *dep,
/* first check if one provider is already installed locally */
for(i = providers; i; i = i->next) {
alpm_pkg_t *pkg = i->data;
- if(_alpm_pkghash_find(_alpm_db_get_pkgcache_hash(handle->db_local), pkg->name)) {
+ if(_alpm_db_get_pkgfromcache(handle->db_local, pkg->name)) {
alpm_list_free(providers);
return pkg;
}