summaryrefslogtreecommitdiff
path: root/tar.c
diff options
context:
space:
mode:
Diffstat (limited to 'tar.c')
-rw-r--r--tar.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tar.c b/tar.c
index 597e9b8..460962e 100644
--- a/tar.c
+++ b/tar.c
@@ -601,7 +601,7 @@ static int readTarFile(const char* tarName, int extractFlag, int listFlag,
}
/* Remove files if we would overwrite them */
- if (extractFlag == TRUE && tostdOut == FALSE)
+ if (extractFlag == TRUE && tostdoutFlag == FALSE)
unlink(header.name);
/* If we got here, we can be certain we have a legitimate