mirror of
https://github.com/yarrick/iodine.git
synced 2024-11-22 08:09:19 +02:00
fixed type of length that zlib is given
This commit is contained in:
parent
1deab43f13
commit
064d060f79
|
@ -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 New Issue