Skip to content

Commit 5443331

Browse files
[USETUP] CabinetExtractFile(): Do not overwrite Status value (reactos#7456)
Addendum to 5d4d912 (r15403).
1 parent 52192f1 commit 5443331

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

base/setup/usetup/spapisup/cabinet.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1260,7 +1260,8 @@ CabinetExtractFile(
12601260
DPRINT("Cannot uncompress block\n");
12611261
if (Status == CS_NOMEMORY)
12621262
Status = CAB_STATUS_NOMEMORY;
1263-
Status = CAB_STATUS_INVALID_CAB;
1263+
else
1264+
Status = CAB_STATUS_INVALID_CAB;
12641265
goto UnmapDestFile;
12651266
}
12661267

0 commit comments

Comments
 (0)