http-parser.c

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

commit cb57c5238e3b1f40b999aab812e85a2d2d9097f9
parent ae4b3afd676675e69f3617d1c72cc6bdcddc75be
Author: finwo <finwo@pm.me>
Date:   Tue,  8 Aug 2023 00:16:03 +0200

Fix typo in isPathAllocced

Diffstat:
Msrc/http-parser.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/http-parser.c b/src/http-parser.c @@ -408,7 +408,7 @@ struct buf * http_parser_sprint_request(struct http_parser_message *request) { if (strstr(path, "/") != path) { tmppath = path; path = NULL; - isPathallocced = true; + isPathAllocced = true; aprintf(&path, "/%s", tmppath); }