1
0
mirror of https://github.com/yarrick/iodine.git synced 2024-11-29 16:36:03 +03:00

fixed type of length that zlib is given

This commit is contained in:
Bjorn Andersson 2007-02-04 15:38:28 +00:00
parent 1deab43f13
commit 064d060f79

View File

@ -54,7 +54,7 @@ tunnel_tun(int tun_fd, int dns_fd)
char out[64*1024]; char out[64*1024];
char in[64*1024]; char in[64*1024];
size_t outlen; size_t outlen;
int read; size_t read;
read = read_tun(tun_fd, in, sizeof(in)); read = read_tun(tun_fd, in, sizeof(in));
if(read > 0) { if(read > 0) {
@ -72,7 +72,7 @@ tunnel_dns(int tun_fd, int dns_fd)
char out[64*1024]; char out[64*1024];
char in[64*1024]; char in[64*1024];
size_t outlen; size_t outlen;
int read; size_t read;
read = dns_read(dns_fd, in, sizeof(in)); read = dns_read(dns_fd, in, sizeof(in));
if (read > 0) { if (read > 0) {