From: Guus Sliepen Date: Tue, 2 May 2000 09:10:33 +0000 (+0000) Subject: Fixed small mistake that would prevent forwarding requests. X-Git-Tag: release-1.0pre1~16 X-Git-Url: https://tinc-vpn.org/git/browse?a=commitdiff_plain;h=989d7edc07fd407e7f7838b45986f4e37359ef97;p=tinc Fixed small mistake that would prevent forwarding requests. --- diff --git a/src/net.c b/src/net.c index 7ee41b82..69616b48 100644 --- a/src/net.c +++ b/src/net.c @@ -962,8 +962,8 @@ cp { if(cl->buffer[i] == '\n') { - cl->buffer[i] = 0; /* turn end-of-line into end-of-string */ p = i + 1; + cl->buffer[p] = 0; /* add end-of-string so we can use sscanf */ break; } }