warp-vpn

point to point VPN implementation
git clone git://git.2f30.org/warp-vpn
Log | Files | Refs | README

commit 790bda469e588883ed0bb6b2b5b28ac5298d5965
parent 4c1b0f4e7d27198285713a9ab033fde22ff93e09
Author: sin <sin@2f30.org>
Date:   Wed, 27 Apr 2016 22:48:45 +0100

Remove some bogus/useless comments

Diffstat:
Mnetpkt.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 out 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) {