summaryrefslogtreecommitdiffstats
path: root/lib/libalpm/db.c
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2011-04-16 02:30:11 +0200
committerDan McGee <dan@archlinux.org>2011-04-21 03:11:26 +0200
commit442e1420f95ecc6fd1967677c1be5dfed6584542 (patch)
tree42c26edf4408acad0580c543262aee51e8e91c95 /lib/libalpm/db.c
parent3c5661ec3cd5cdf2f1c3101d90789c83786a6897 (diff)
downloadpacman-442e1420f95ecc6fd1967677c1be5dfed6584542.tar.gz
pacman-442e1420f95ecc6fd1967677c1be5dfed6584542.tar.xz
Rename gpgsig struct fields for clarity
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'lib/libalpm/db.c')
-rw-r--r--lib/libalpm/db.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libalpm/db.c b/lib/libalpm/db.c
index 3808a275..f5e7a25f 100644
--- a/lib/libalpm/db.c
+++ b/lib/libalpm/db.c
@@ -321,7 +321,7 @@ const pmpgpsig_t *_alpm_db_pgpsig(pmdb_t *db)
/* Sanity checks */
ASSERT(db != NULL, return(NULL));
- if(db->pgpsig.rawdata == NULL) {
+ if(db->pgpsig.data == NULL) {
const char *dbfile;
int ret;
@@ -343,8 +343,8 @@ void _alpm_db_free(pmdb_t *db)
_alpm_db_free_pkgcache(db);
/* cleanup server list */
FREELIST(db->servers);
- /* only need to free rawdata */
- FREE(db->pgpsig.rawdata);
+ /* only need to free data */
+ FREE(db->pgpsig.data);
FREE(db->_path);
FREE(db->treename);
FREE(db);