diff options
author | Glenn L McGrath | 2001-04-29 00:50:33 +0000 |
---|---|---|
committer | Glenn L McGrath | 2001-04-29 00:50:33 +0000 |
commit | af166e7ce0ceb4b19402a48c68127b425d01fd57 (patch) | |
tree | 24fe2a6ea57f48aa7bd5204f642e7bf539a19cec /archival/tar.c | |
parent | 2bf4dad7ec7bbad25efb0393a14dfc9fde7e507c (diff) | |
download | busybox-af166e7ce0ceb4b19402a48c68127b425d01fd57.zip busybox-af166e7ce0ceb4b19402a48c68127b425d01fd57.tar.gz |
Logic reversal for last_char_is
Diffstat (limited to 'archival/tar.c')
-rw-r--r-- | archival/tar.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/archival/tar.c b/archival/tar.c index 716f4ac..c168564 100644 --- a/archival/tar.c +++ b/archival/tar.c @@ -706,7 +706,7 @@ static int readTarFile(int tarFd, int extractFlag, int listFlag, case REGTYPE0: /* If the name ends in a '/' then assume it is * supposed to be a directory, and fall through */ - if (last_char_is(header.name,'/')) { + if (!last_char_is(header.name,'/')) { if (tarExtractRegularFile(&header, extractFlag, tostdoutFlag)==FALSE) errorFlag=TRUE; break; |