mirror of
https://github.com/sheumann/hush.git
synced 2024-10-27 23:26:30 +00:00
List full path instead of relative path if prefix is specified (this was supposed to be in last patch)
This commit is contained in:
parent
dece3c5684
commit
c5bd149261
@ -218,7 +218,7 @@ char *extract_archive(FILE *src_stream, FILE *out_stream, const file_header_t *f
|
|||||||
}
|
}
|
||||||
if ((function & extract_list) || (function & extract_verbose_list)){
|
if ((function & extract_list) || (function & extract_verbose_list)){
|
||||||
/* fputs doesnt add a trailing \n, so use fprintf */
|
/* fputs doesnt add a trailing \n, so use fprintf */
|
||||||
fprintf(out_stream, "%s\n", file_entry->name);
|
fprintf(out_stream, "%s\n", full_name);
|
||||||
}
|
}
|
||||||
|
|
||||||
free(full_name);
|
free(full_name);
|
||||||
|
Loading…
Reference in New Issue
Block a user