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

Added missing braces

This commit is contained in:
Erik Ekman 2006-06-23 11:50:33 +00:00
parent d509c911c1
commit 0229ee0d46

View File

@ -90,10 +90,11 @@ tunnel(int tun_fd, int dns_fd)
} }
if (i==0) { if (i==0) {
if (q.id != 0) if (q.id != 0) {
dnsd_send(dns_fd, &q, outpacket.data, outpacket.len); dnsd_send(dns_fd, &q, outpacket.data, outpacket.len);
outpacket.len = 0; outpacket.len = 0;
q.id = 0; q.id = 0;
}
} else { } else {
if(FD_ISSET(tun_fd, &fds)) { if(FD_ISSET(tun_fd, &fds)) {
read = read_tun(tun_fd, in, sizeof(in)); read = read_tun(tun_fd, in, sizeof(in));