diff options
author | Chantry Xavier <shiningxc@gmail.com> | 2007-08-25 16:26:41 +0200 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2007-08-26 13:34:16 -0400 |
commit | 26441cf65ca10d4bf218203df5db5e8a7270787b (patch) | |
tree | 90829acd87ac467beffa30689bef413a68c19b8a /lib/libalpm | |
parent | c8011954a5fc3d838bc2fc72ed03da4506a695e1 (diff) | |
download | pacman-26441cf65ca10d4bf218203df5db5e8a7270787b.tar.xz |
libalpm/add.c : fix backup handling.
During last refactoring, a "continue" somehow became a "return(0)" :)
Signed-off-by: Chantry Xavier <shiningxc@gmail.com>
Diffstat (limited to 'lib/libalpm')
-rw-r--r-- | lib/libalpm/add.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libalpm/add.c b/lib/libalpm/add.c index f5ec3fa6..3f9a2a85 100644 --- a/lib/libalpm/add.c +++ b/lib/libalpm/add.c @@ -519,7 +519,7 @@ static int extract_single_file(struct archive *archive, backups = alpm_list_next(backups)) { char *oldbackup = alpm_list_getdata(backups); if(!oldbackup || strcmp(oldbackup, entryname) != 0) { - return(0); + continue; } char *backup = NULL; /* length is tab char, null byte and MD5 (32 char) */ |