aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/http-parser/http_parser.c
diff options
context:
space:
mode:
authorAlexander Moisseev <moiseev@mezonplus.ru>2017-06-27 10:44:19 +0300
committerAlexander Moisseev <moiseev@mezonplus.ru>2017-06-27 10:44:19 +0300
commitbb5a9f8e451bc206e78c9d4d03eb4cbdbef260b3 (patch)
treeec38b50c99765caed67aaf23db308b17cc407d5f /contrib/http-parser/http_parser.c
parent146886df6d250a376b92d1bb615cb93679a7d6e8 (diff)
downloadrspamd-bb5a9f8e451bc206e78c9d4d03eb4cbdbef260b3.tar.gz
rspamd-bb5a9f8e451bc206e78c9d4d03eb4cbdbef260b3.zip
[Minor] Massive spelling correction
by a bot https://github.com/ka7/misspell_fixer
Diffstat (limited to 'contrib/http-parser/http_parser.c')
-rw-r--r--contrib/http-parser/http_parser.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/contrib/http-parser/http_parser.c b/contrib/http-parser/http_parser.c
index 2984471d4..0e75d964b 100644
--- a/contrib/http-parser/http_parser.c
+++ b/contrib/http-parser/http_parser.c
@@ -1653,7 +1653,7 @@ size_t http_parser_execute (http_parser *parser,
/* Here we call the headers_complete callback. This is somewhat
* different than other callbacks because if the user returns 1, we
* will interpret that as saying that this message has no body. This
- * is needed for the annoying case of recieving a response to a HEAD
+ * is needed for the annoying case of receiving a response to a HEAD
* request.
*
* We'd like to use CALLBACK_NOTIFY_NOADVANCE() here but we cannot, so
@@ -1733,7 +1733,7 @@ size_t http_parser_execute (http_parser *parser,
&& parser->content_length != ULLONG_MAX);
/* The difference between advancing content_length and p is because
- * the latter will automaticaly advance on the next loop iteration.
+ * the latter will automatically advance on the next loop iteration.
* Further, if content_length ends up at 0, we want to see the last
* byte again for our message complete callback.
*/
@@ -2162,7 +2162,7 @@ http_parser_parse_url(const char *buf, size_t buflen, int is_connect,
case s_dead:
return 1;
- /* Skip delimeters */
+ /* Skip delimiters */
case s_req_schema_slash:
case s_req_schema_slash_slash:
case s_req_server_start: