Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/lib/libalpm/db.c
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2011-04-15 19:30:11 -0500
committerDan McGee <dan@archlinux.org>2011-04-20 20:11:26 -0500
commit442e1420f95ecc6fd1967677c1be5dfed6584542 (patch)
tree42c26edf4408acad0580c543262aee51e8e91c95 /lib/libalpm/db.c
parent3c5661ec3cd5cdf2f1c3101d90789c83786a6897 (diff)
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);