index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
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) |
-rw-r--r-- | lib/libalpm/backup.c | 4 |
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); } |