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 6af16f4..282656f 100644 --- a/archival/tar.c +++ b/archival/tar.c @@ -490,7 +490,7 @@ readTarHeader(struct TarHeader *rawHeader, struct TarInfo *header) static int alreadyWarned=FALSE; while (*(header->name) == '/') - ++*(header->name); + header->name++; if (alreadyWarned == FALSE) { error_msg("Removing leading '/' from member names"); @@ -490,7 +490,7 @@ readTarHeader(struct TarHeader *rawHeader, struct TarInfo *header) static int alreadyWarned=FALSE; while (*(header->name) == '/') - ++*(header->name); + header->name++; if (alreadyWarned == FALSE) { error_msg("Removing leading '/' from member names"); |