index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Dan McGee <dan@archlinux.org> | 2011-08-19 19:12:21 -0500 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-08-19 19:12:21 -0500 |
commit | d9e5dab6aceeb4d32cfa52d5500f0d22cabb487b (patch) | |
tree | 031845462cc7aefe45c86a03aae95bb62e44fdeb /lib/libalpm/db.c | |
parent | d307ed5eb9d6684911c55f661e2d58e0fd6e4ceb (diff) |
-rw-r--r-- | lib/libalpm/db.c | 4 |
diff --git a/lib/libalpm/db.c b/lib/libalpm/db.c index 33282b87..4b23509a 100644 --- a/lib/libalpm/db.c +++ b/lib/libalpm/db.c @@ -224,7 +224,7 @@ alpm_siglevel_t SYMEXPORT alpm_db_get_siglevel(alpm_db_t *db) { ASSERT(db != NULL, return -1); if(db->siglevel & ALPM_SIG_USE_DEFAULT) { - return alpm_option_get_default_siglevel(db->handle); + return db->handle->siglevel; } else { return db->siglevel; } @@ -357,7 +357,7 @@ const char *_alpm_db_path(alpm_db_t *db) const char *dbpath; size_t pathsize; - dbpath = alpm_option_get_dbpath(db->handle); + dbpath = db->handle->dbpath; if(!dbpath) { _alpm_log(db->handle, ALPM_LOG_ERROR, _("database path is undefined\n")); RET_ERR(db->handle, ALPM_ERR_DB_OPEN, NULL); |