stun

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

commit 95eafa851e90d34565e7005776c339ab525d45fc
parent a313c715a9ed9a683927778e3d4d55717eb75d9a
Author: sin <sin@2f30.org>
Date:   Wed Apr 27 22:48:45 +0100

Remove some bogus/useless comments

Diffstat:
netpkt.c | 5-----
1 file changed, 0 insertions(+), 5 deletions(-)
diff --git a/netpkt.c b/netpkt.c @@ -41,7 +41,6 @@ static size_t taglen; /* state tracking for input handling */ static int state; -/* create a packet and write it to the network */ int netwrite(int fd, unsigned char *pt, size_t ptlen, size_t *outlen) { @@ -78,10 +77,6 @@ netwrite(int fd, unsigned char *pt, size_t ptlen, size_t *outlen) return PKTCOMPLETE; } -/* - * Since stun is using non-blocking sockets it needs to handle - * partial reads. A state machine is devised for this purpose. - */ int netread(int fd, unsigned char *pt, size_t ptlen, size_t *outlen) {