stun

simple point to point tunnel
git clone git://git.2f30.org/stun
Log | Files | Refs | README

commit f77606426b077f21d4fd871329c5537eb6913028
parent 7a03c8a98efa62545f796d6e08bf6e71dd3bc192
Author: sin <sin@2f30.org>
Date:   Tue, 29 Mar 2016 12:25:01 +0100

silence some bullshit warnings

Diffstat:
Mstun.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/stun.c b/stun.c @@ -321,7 +321,7 @@ writedev(int fd, unsigned char *buf, int len) { struct iovec iov[2]; uint32_t type = htonl(AF_INET); - int n; + int n = -1; switch (devtype) { case TAPDEV: @@ -351,7 +351,7 @@ readdev(int fd, unsigned char *buf, int len) { struct iovec iov[2]; uint32_t type; - int n; + int n = -1; switch (devtype) { case TAPDEV: