Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChantry Xavier <shiningxc@gmail.com>2007-08-25 16:26:41 +0200
committerDan McGee <dan@archlinux.org>2007-08-26 13:34:16 -0400
commit26441cf65ca10d4bf218203df5db5e8a7270787b (patch)
tree90829acd87ac467beffa30689bef413a68c19b8a
parentc8011954a5fc3d838bc2fc72ed03da4506a695e1 (diff)
libalpm/add.c : fix backup handling.
During last refactoring, a "continue" somehow became a "return(0)" :) Signed-off-by: Chantry Xavier <shiningxc@gmail.com>
-rw-r--r--lib/libalpm/add.c2
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) */