index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Allan McRae <allan@archlinux.org> | 2013-02-11 14:19:27 +1000 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2013-02-13 11:50:33 +1000 |
commit | 8fe8233dfa9c7827371168158784311cffb97556 (patch) | |
tree | 18cfbac3868e49030ca4afe97d12f80c7497ceff /lib/libalpm/be_sync.c | |
parent | 87ffc648b7bce35dcc55dd43dce832669f83e894 (diff) |
-rw-r--r-- | lib/libalpm/be_sync.c | 2 |
diff --git a/lib/libalpm/be_sync.c b/lib/libalpm/be_sync.c index 92be9491..1cbe055e 100644 --- a/lib/libalpm/be_sync.c +++ b/lib/libalpm/be_sync.c @@ -651,7 +651,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 != 0 && level != ALPM_SIG_USE_DEFAULT) { + if((level &= ~ALPM_SIG_PACKAGE_SET) != 0 && level != ALPM_SIG_USE_DEFAULT) { RET_ERR(handle, ALPM_ERR_WRONG_ARGS, NULL); } #endif |