index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Dan McGee <dan@archlinux.org> | 2007-01-30 03:46:33 +0000 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2007-01-30 03:46:33 +0000 |
commit | 1799afc9c144381150e181cee3a03a506b3e1d31 (patch) | |
tree | 5bfad94c39c4766a0b73b87b31924a58dae2d684 /lib/libalpm/cache.c | |
parent | 358a4a62f325c0f043005cff72d79b813d2a318f (diff) |
-rw-r--r-- | lib/libalpm/cache.c | 4 |
diff --git a/lib/libalpm/cache.c b/lib/libalpm/cache.c index 81737d3c..61633a1a 100644 --- a/lib/libalpm/cache.c +++ b/lib/libalpm/cache.c @@ -202,7 +202,7 @@ int _alpm_db_load_grpcache(pmdb_t *db) pmpkg_t *pkg = lp->data; for(i = pkg->groups; i; i = i->next) { - if(!alpm_list_is_strin(i->data, db->grpcache)) { + if(!alpm_list_find_str(db->grpcache, i->data)) { pmgrp_t *grp = _alpm_grp_new(); STRNCPY(grp->name, (char *)i->data, GRP_NAME_LEN); @@ -215,7 +215,7 @@ int _alpm_db_load_grpcache(pmdb_t *db) pmgrp_t *grp = j->data; if(strcmp(grp->name, i->data) == 0) { - if(!alpm_list_is_strin(pkg->name, grp->packages)) { + if(!alpm_list_find_str(grp->packages, pkg->name)) { grp->packages = alpm_list_add_sorted(grp->packages, (char *)pkg->name, _alpm_grp_cmp); } } |