index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Dan McGee <dan@archlinux.org> | 2007-02-21 08:34:36 +0000 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2007-02-21 08:34:36 +0000 |
commit | a5f630fda6ef984b39c867da28c3eeef8abbb30d (patch) | |
tree | 550a0c096fda4bceccf2ff70c3b156d2ca4f492c /lib/libalpm/cache.c | |
parent | 829ac8369b49219c988bb7553a3093615ddcb76d (diff) |
-rw-r--r-- | lib/libalpm/cache.c | 2 |
diff --git a/lib/libalpm/cache.c b/lib/libalpm/cache.c index 41038fe3..456c98bd 100644 --- a/lib/libalpm/cache.c +++ b/lib/libalpm/cache.c @@ -124,7 +124,7 @@ int _alpm_db_ensure_pkgcache(pmdb_t *db, pmdbinfrq_t infolevel) for(p = db->pkgcache; p; p = p->next) { pmpkg_t *pkg = (pmpkg_t *)p->data; if(infolevel != INFRQ_NONE && !(pkg->infolevel & infolevel)) { - if(_alpm_db_read(db, infolevel, pkg) == -1) { + if(_alpm_db_read(db, pkg, infolevel) == -1) { /* TODO should we actually remove from the filesystem here as well? */ _alpm_db_remove_pkgfromcache(db, pkg); } else { |