diff options
author | Aaron Griffin <aaron@archlinux.org> | 2006-12-22 19:38:55 +0000 |
---|---|---|
committer | Aaron Griffin <aaron@archlinux.org> | 2006-12-22 19:38:55 +0000 |
commit | e3aace4a4d821d388a40545d6497069a973636d8 (patch) | |
tree | a5043edfd56135b43162587c34669515ed3ba613 /lib/libalpm/backup.c | |
parent | d8d82215561305cb7af0a33d7810cbb9cadb2cea (diff) | |
download | pacman-e3aace4a4d821d388a40545d6497069a973636d8.tar.xz |
Cleanup from Dan McGee <dpmcgee@gmail.com> and Jürgen Hötzel <juergen@hoetzel.info>
* configure swig check
* misc libalpm cleanup
Diffstat (limited to 'lib/libalpm/backup.c')
-rw-r--r-- | lib/libalpm/backup.c | 4 |
1 files changed, 2 insertions, 2 deletions
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); } |