diff options
author | Andrew Gregory <andrew.gregory.8@gmail.com> | 2014-04-26 17:53:47 +0200 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2015-01-21 05:27:46 +0100 |
commit | 95121cc4f1b63fccaa27dfb567e5a2dfa628671e (patch) | |
tree | 4c7a232f1eaef3391ac340573dab653091ea5a55 /lib/libalpm/be_sync.c | |
parent | 2aa85c3bfdb17a11213495558c493bc68408efe7 (diff) | |
download | pacman-95121cc4f1b63fccaa27dfb567e5a2dfa628671e.tar.gz pacman-95121cc4f1b63fccaa27dfb567e5a2dfa628671e.tar.xz |
conf.c: use masks for siglevel inheritance
This will allow pacman to parse its config file in a single pass and
removes the need for the *_SET siglevels in alpm that were only required
for pacman's siglevel inheritance.
Signed-off-by: Andrew Gregory <andrew.gregory.8@gmail.com>
Diffstat (limited to 'lib/libalpm/be_sync.c')
-rw-r--r-- | lib/libalpm/be_sync.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libalpm/be_sync.c b/lib/libalpm/be_sync.c index 6e89ad93..0c4519aa 100644 --- a/lib/libalpm/be_sync.c +++ b/lib/libalpm/be_sync.c @@ -709,7 +709,7 @@ alpm_db_t *_alpm_db_register_sync(alpm_handle_t *handle, const char *treename, _alpm_log(handle, ALPM_LOG_DEBUG, "registering sync database '%s'\n", treename); #ifndef HAVE_LIBGPGME - if((level &= ~ALPM_SIG_PACKAGE_SET) != 0 && level != ALPM_SIG_USE_DEFAULT) { + if(level != ALPM_SIG_USE_DEFAULT) { RET_ERR(handle, ALPM_ERR_WRONG_ARGS, NULL); } #endif |