mirror of
https://github.com/yarrick/iodine.git
synced 2024-12-22 21:33:33 +02:00
fixed type of length that zlib is given
This commit is contained in:
parent
1deab43f13
commit
064d060f79
1 changed files with 2 additions and 2 deletions
|
@ -54,7 +54,7 @@ tunnel_tun(int tun_fd, int dns_fd)
|
|||
char out[64*1024];
|
||||
char in[64*1024];
|
||||
size_t outlen;
|
||||
int read;
|
||||
size_t read;
|
||||
|
||||
read = read_tun(tun_fd, in, sizeof(in));
|
||||
if(read > 0) {
|
||||
|
@ -72,7 +72,7 @@ tunnel_dns(int tun_fd, int dns_fd)
|
|||
char out[64*1024];
|
||||
char in[64*1024];
|
||||
size_t outlen;
|
||||
int read;
|
||||
size_t read;
|
||||
|
||||
read = dns_read(dns_fd, in, sizeof(in));
|
||||
if (read > 0) {
|
||||
|
|
Loading…
Reference in a new issue