diff options
-rw-r--r-- | archival/tar.c | 2 | ||||
-rw-r--r-- | tar.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/archival/tar.c b/archival/tar.c index 597e9b8..460962e 100644 --- a/archival/tar.c +++ b/archival/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 @@ -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 |