From e3aace4a4d821d388a40545d6497069a973636d8 Mon Sep 17 00:00:00 2001 From: Aaron Griffin Date: Fri, 22 Dec 2006 19:38:55 +0000 Subject: Cleanup from Dan McGee and Jürgen Hötzel * configure swig check * misc libalpm cleanup MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/libalpm/backup.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/libalpm/backup.c') diff --git a/lib/libalpm/backup.c b/lib/libalpm/backup.c index cf29abf0..4c438fe4 100644 --- a/lib/libalpm/backup.c +++ b/lib/libalpm/backup.c @@ -55,9 +55,9 @@ char *_alpm_needbackup(char *file, pmlist_t *backup) ptr++; /* now str points to the filename and ptr points to the md5 or sha1 hash */ if(!strcmp(file, str)) { - char *md5 = strdup(ptr); + char *hash = strdup(ptr); FREE(str); - return(md5); + return(hash); } FREE(str); } -- cgit v1.2.3-24-g4f1b