mirror of
https://github.com/rkd77/elinks.git
synced 2025-01-03 14:57:44 -05:00
decompress_data: remove some unnecessary code
This commit is contained in:
parent
da5ec748b6
commit
157b08609f
@ -1030,8 +1030,8 @@ decompress_data(struct connection *conn, unsigned char *data, int len,
|
|||||||
if (!conn->stream) return NULL;
|
if (!conn->stream) return NULL;
|
||||||
/* On "startup" pipe is treated with care, but if everything
|
/* On "startup" pipe is treated with care, but if everything
|
||||||
* was already written to the pipe, caution isn't necessary */
|
* was already written to the pipe, caution isn't necessary */
|
||||||
else if (to_read != BIG_READ) init = 1;
|
if (to_read != BIG_READ) init = 1;
|
||||||
} else init = 0;
|
}
|
||||||
|
|
||||||
output = (unsigned char *) mem_realloc(output, *new_len + to_read);
|
output = (unsigned char *) mem_realloc(output, *new_len + to_read);
|
||||||
if (!output) break;
|
if (!output) break;
|
||||||
|
Loading…
Reference in New Issue
Block a user