libalpm/add.c : fix backup handling.

During last refactoring, a "continue" somehow became a "return(0)" :)

Signed-off-by: Chantry Xavier <shiningxc@gmail.com>
This commit is contained in:
Chantry Xavier 2007-08-25 16:26:41 +02:00 committed by Dan McGee
parent c8011954a5
commit 26441cf65c

View file

@ -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) */