mirror of
https://github.com/lxsang/ant-http
synced 2024-12-25 16:28:21 +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
|
#ifdef USE_OPENSSL
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
/*if(ret <= 0)
|
|
||||||
{
|
|
||||||
antd_close(src);
|
|
||||||
}*/
|
|
||||||
#ifdef USE_ZLIB
|
|
||||||
if(source->zstream && source->z_level != ANTD_CNONE && data)
|
|
||||||
free(data);
|
|
||||||
#endif
|
|
||||||
return written;
|
return written;
|
||||||
}
|
}
|
||||||
int antd_recv(void *src, void* data, int len)
|
int antd_recv(void *src, void* data, int len)
|
||||||
|
Loading…
Reference in New Issue
Block a user