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:
parent
c8011954a5
commit
26441cf65c
1 changed files with 1 additions and 1 deletions
|
@ -519,7 +519,7 @@ static int extract_single_file(struct archive *archive,
|
||||||
backups = alpm_list_next(backups)) {
|
backups = alpm_list_next(backups)) {
|
||||||
char *oldbackup = alpm_list_getdata(backups);
|
char *oldbackup = alpm_list_getdata(backups);
|
||||||
if(!oldbackup || strcmp(oldbackup, entryname) != 0) {
|
if(!oldbackup || strcmp(oldbackup, entryname) != 0) {
|
||||||
return(0);
|
continue;
|
||||||
}
|
}
|
||||||
char *backup = NULL;
|
char *backup = NULL;
|
||||||
/* length is tab char, null byte and MD5 (32 char) */
|
/* length is tab char, null byte and MD5 (32 char) */
|
||||||
|
|
Loading…
Add table
Reference in a new issue