Added initialization code for database siglevel
The siglevel field of a newly created pmdb_t struct is now initialized when it is created in _alpm_db_new(). Signed-off-by: Kerrick Staley <mail@kerrickstaley.com> Signed-off-by: Dan McGee <dan@archlinux.org>
This commit is contained in:
parent
bcd442761b
commit
01ad3faee9
1 changed files with 1 additions and 0 deletions
|
@ -331,6 +331,7 @@ pmdb_t *_alpm_db_new(const char *treename, int is_local)
|
|||
CALLOC(db, 1, sizeof(pmdb_t), RET_ERR(PM_ERR_MEMORY, NULL));
|
||||
STRDUP(db->treename, treename, RET_ERR(PM_ERR_MEMORY, NULL));
|
||||
db->is_local = is_local;
|
||||
db->pgp_verify = PM_PGP_VERIFY_UNKNOWN;
|
||||
|
||||
return db;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue