From 442e1420f95ecc6fd1967677c1be5dfed6584542 Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Fri, 15 Apr 2011 19:30:11 -0500 Subject: Rename gpgsig struct fields for clarity Signed-off-by: Dan McGee --- lib/libalpm/db.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib/libalpm/db.c') 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); -- cgit v1.2.3-24-g4f1b