index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Aurelien Foret <aurelien@archlinux.org> | 2006-02-17 22:35:26 +0000 |
---|---|---|
committer | Aurelien Foret <aurelien@archlinux.org> | 2006-02-17 22:35:26 +0000 |
commit | be39f49a5461d5804e4391266dfea6dd076691f4 (patch) | |
tree | 911a7f550895d9fdda7b4846d6775699549b2bf4 /lib/libalpm/provide.c | |
parent | 5e4c3661c6066623bbfa34bacccfafda5be21315 (diff) |
-rw-r--r-- | lib/libalpm/provide.c | 6 |
diff --git a/lib/libalpm/provide.c b/lib/libalpm/provide.c index 17bf6454..bca6b7da 100644 --- a/lib/libalpm/provide.c +++ b/lib/libalpm/provide.c @@ -39,11 +39,11 @@ PMList *_alpm_db_whatprovides(pmdb_t *db, char *package) return(NULL); } - for(lp = db_get_pkgcache(db); lp; lp = lp->next) { + for(lp = _alpm_db_get_pkgcache(db); lp; lp = lp->next) { pmpkg_t *info = lp->data; - if(pm_list_is_strin(package, info->provides)) { - pkgs = pm_list_add(pkgs, info); + if(_alpm_list_is_strin(package, info->provides)) { + pkgs = _alpm_list_add(pkgs, info); } } |