summaryrefslogtreecommitdiffstats
path: root/lib/libalpm/package.c
diff options
context:
space:
mode:
authorAllan McRae <allan@archlinux.org>2011-06-29 07:59:48 +0200
committerAllan McRae <allan@archlinux.org>2011-06-29 08:00:25 +0200
commitfed3e09c94d204b4655656c703a178e6fa2144b3 (patch)
tree6d8d4f9e4c28036ce729b6a59f2317b6abf4ce2a /lib/libalpm/package.c
parentb1894ccf062059972d39fa855ee7941b666c5db0 (diff)
downloadpacman-fed3e09c94d204b4655656c703a178e6fa2144b3.tar.gz
pacman-fed3e09c94d204b4655656c703a178e6fa2144b3.tar.xz
Use ignoregroup rather than ignoregrp in the handle
This matches the naming in pacman.conf. Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'lib/libalpm/package.c')
-rw-r--r--lib/libalpm/package.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libalpm/package.c b/lib/libalpm/package.c
index efdf1be2..31f07325 100644
--- a/lib/libalpm/package.c
+++ b/lib/libalpm/package.c
@@ -598,7 +598,7 @@ alpm_pkg_t *_alpm_pkg_find(alpm_list_t *haystack, const char *needle)
/** Test if a package should be ignored.
*
* Checks if the package is ignored via IgnorePkg, or if the package is
- * in a group ignored via IgnoreGrp.
+ * in a group ignored via IgnoreGroup.
*
* @param handle the context handle
* @param pkg the package to test
@@ -615,7 +615,7 @@ int _alpm_pkg_should_ignore(alpm_handle_t *handle, alpm_pkg_t *pkg)
}
/* next see if the package is in a group that is ignored */
- for(groups = handle->ignoregrp; groups; groups = alpm_list_next(groups)) {
+ for(groups = handle->ignoregroup; groups; groups = alpm_list_next(groups)) {
char *grp = (char *)alpm_list_getdata(groups);
if(alpm_list_find_str(alpm_pkg_get_groups(pkg), grp)) {
return 1;