mirror of
https://github.com/bol-van/zapret.git
synced 2025-04-19 21:42:59 +03:00
tpws : gzip.c bad if
This commit is contained in:
parent
be487f7475
commit
be5b248cdd
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -39,7 +39,6 @@ int z_readfile(FILE *F,char **buf,size_t *size)
|
|||||||
{
|
{
|
||||||
bufsize += BUFCHUNK;
|
bufsize += BUFCHUNK;
|
||||||
newbuf = *buf ? realloc(*buf,bufsize) : malloc(bufsize);
|
newbuf = *buf ? realloc(*buf,bufsize) : malloc(bufsize);
|
||||||
if (newbuf==*buf)
|
|
||||||
if (!newbuf)
|
if (!newbuf)
|
||||||
{
|
{
|
||||||
r = Z_MEM_ERROR;
|
r = Z_MEM_ERROR;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user