http-parser.c

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

commit 930e6ec732cf6a615fa79a75e1a1b2dcdd35dc84
parent d40e9747d0f181b4555d05dab6da5dd55213c1b3
Author: finwo <finwo@pm.me>
Date:   Thu, 14 May 2020 17:04:28 +0200

Fix typo in http-parser.c

Diffstat:
Msrc/http-parser.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/http-parser.c b/src/http-parser.c @@ -282,8 +282,8 @@ char * http_parser_sprint_pair_response(struct http_parser_pair *pair) { return http_parser_sprint_response(pair->response); } -char * http_parser_sprint_pair_quest(struct http_parser_pair *pair) { - return http_parser_sprint_response(pair->response); +char * http_parser_sprint_pair_request(struct http_parser_pair *pair) { + return http_parser_sprint_request(pair->request); } char * http_parser_sprint_response(struct http_parser_message *response) {