diff options
Diffstat (limited to 'archival/libunarchive/get_header_ar.c')
-rw-r--r-- | archival/libunarchive/get_header_ar.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/archival/libunarchive/get_header_ar.c b/archival/libunarchive/get_header_ar.c index b91c6f97d..0d040e30b 100644 --- a/archival/libunarchive/get_header_ar.c +++ b/archival/libunarchive/get_header_ar.c | |||
@@ -88,7 +88,7 @@ char get_header_ar(archive_handle_t *archive_handle) | |||
88 | #endif | 88 | #endif |
89 | } else { | 89 | } else { |
90 | /* short filenames */ | 90 | /* short filenames */ |
91 | typed->name = xstrndup(ar.formatted.name, 16); | 91 | typed->name = xstrndup(ar.formatted.name, 16); |
92 | } | 92 | } |
93 | 93 | ||
94 | typed->name[strcspn(typed->name, " /")] = '\0'; | 94 | typed->name[strcspn(typed->name, " /")] = '\0'; |