From 26441cf65ca10d4bf218203df5db5e8a7270787b Mon Sep 17 00:00:00 2001 From: Chantry Xavier Date: Sat, 25 Aug 2007 16:26:41 +0200 Subject: libalpm/add.c : fix backup handling. During last refactoring, a "continue" somehow became a "return(0)" :) Signed-off-by: Chantry Xavier --- lib/libalpm/add.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) */ -- cgit v1.2.3-70-g09d2