http-parser.c

Small C library to parse HTTP requests
Log | Files | Refs | README | LICENSE

commit 05377074479f4546d8be6c9ce5715503094e3225
parent a2a62ffeb6db27f6acdaaf2a32b9ede974c9efa5
Author: finwo <finwo@pm.me>
Date:   Sat,  9 Nov 2019 21:21:27 +0100

Fixed a typo

Diffstat:
Msrc/http-parser.c | 2+-
Msrc/http-parser.h | 2+-
2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/http-parser.c b/src/http-parser.c @@ -7,7 +7,7 @@ extern "C" { #include <string.h> #include <strings.h> -#include "http.h" +#include "http-parser.h" #ifndef NULL #define NULL ((void*)0) diff --git a/src/http-parser.h b/src/http-parser.h @@ -17,7 +17,7 @@ struct http_parser_header { char *value; }; -struct http_praser_event { +struct http_parser_event { struct http_parser_request *request; };