mirror of
https://github.com/sheumann/hush.git
synced 2024-07-28 22:29:07 +00:00
Reverse part of my previous changes
This commit is contained in:
parent
93febe672a
commit
daf0b78e1a
@ -538,7 +538,8 @@ char *deb_extract(const char *package_filename, FILE *out_stream,
|
|||||||
int gunzip_pid;
|
int gunzip_pid;
|
||||||
|
|
||||||
if (filename == NULL) {
|
if (filename == NULL) {
|
||||||
file_list = NULL;
|
file_list = xmalloc(sizeof(char *));
|
||||||
|
file_list[0] = NULL;
|
||||||
} else {
|
} else {
|
||||||
file_list = xmalloc(sizeof(char *) * 3);
|
file_list = xmalloc(sizeof(char *) * 3);
|
||||||
file_list[0] = xstrdup(filename);
|
file_list[0] = xstrdup(filename);
|
||||||
|
Loading…
Reference in New Issue
Block a user