mirror of
https://github.com/lxsang/ant-http
synced 2024-11-17 17:08:20 +01:00
cleanup
This commit is contained in:
parent
189120bd88
commit
1af2945af0
@ -456,14 +456,7 @@ int antd_send(void *src, const void* data_in, int len_in)
|
||||
#ifdef USE_OPENSSL
|
||||
}
|
||||
#endif
|
||||
/*if(ret <= 0)
|
||||
{
|
||||
antd_close(src);
|
||||
}*/
|
||||
#ifdef USE_ZLIB
|
||||
if(source->zstream && source->z_level != ANTD_CNONE && data)
|
||||
free(data);
|
||||
#endif
|
||||
|
||||
return written;
|
||||
}
|
||||
int antd_recv(void *src, void* data, int len)
|
||||
|
Loading…
Reference in New Issue
Block a user