1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-12-04 14:46:47 -05:00

decompress_data: remove some unnecessary code

This commit is contained in:
Miciah Dashiel Butler Masters 2006-11-05 03:17:30 +00:00 committed by Miciah Dashiel Butler Masters
parent da5ec748b6
commit 157b08609f

View File

@ -1030,8 +1030,8 @@ decompress_data(struct connection *conn, unsigned char *data, int len,
if (!conn->stream) return NULL;
/* On "startup" pipe is treated with care, but if everything
* was already written to the pipe, caution isn't necessary */
else if (to_read != BIG_READ) init = 1;
} else init = 0;
if (to_read != BIG_READ) init = 1;
}
output = (unsigned char *) mem_realloc(output, *new_len + to_read);
if (!output) break;