commit 2f3845694a9fcad12b7c737ec4cd83eb21a65570 parent e3191cac06b18b182d6fdd0b5fe198f4ffa7d048 Author: finwo <finwo@pm.me> Date: Wed, 4 Nov 2020 20:03:24 +0100 Fix typo Diffstat:
| M | src/http-parser.c | | | 6 | +++--- |
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/http-parser.c b/src/http-parser.c @@ -280,9 +280,9 @@ static int http_parser_message_read_chunked(struct http_parser_message *message) char * http_parser_status_message(int status) { int i; - for(i=0; http_parser_statuses[i].status; i++) { - if (http_parser_statuses[i].status == status) { - return http_parser_statuses[i].message; + for(i=0; http_parser_statusses[i].status; i++) { + if (http_parser_statusses[i].status == status) { + return http_parser_statusses[i].message; } } return NULL;