chibipub

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 641b87c34ec88ccd9ccc785dd758212d896d8324
parent 23b7e828cd1e61c246a6f33ec1ef0db4cb50cb40
Author: William Casarin <jb55@jb55.com>
Date:   Thu, 19 Nov 2020 08:43:17 -0800

fix usused variables

Diffstat:
Msrc/wolfsocks.c | 2--
1 file changed, 0 insertions(+), 2 deletions(-)

diff --git a/src/wolfsocks.c b/src/wolfsocks.c @@ -28,7 +28,6 @@ static void error(char *msg) static int parse_segment(struct cursor *cur, char *method, int method_len) { - int ok; int i; for (i = 0; i < method_len-1; i++) { @@ -48,7 +47,6 @@ static int parse_http_request(struct http_req *req, unsigned char *buffer, int b { struct cursor c; make_cursor(buffer, buffer + buflen, &c); - int ok; if (!parse_segment(&c, req->method, sizeof(req->method))) return 0;