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;
|
||||
|
||||
if (filename == NULL) {
|
||||
file_list = NULL;
|
||||
file_list = xmalloc(sizeof(char *));
|
||||
file_list[0] = NULL;
|
||||
} else {
|
||||
file_list = xmalloc(sizeof(char *) * 3);
|
||||
file_list[0] = xstrdup(filename);
|
||||
|
Loading…
Reference in New Issue
Block a user