diff options
author | Lorenz <12514511+RincewindsHat@users.noreply.github.com> | 2023-04-14 20:02:42 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-14 20:02:42 (GMT) |
commit | aff54257822a507121aaaee0b6b8cdfdef41b615 (patch) | |
tree | abfb970cab5f7bfed94fe0b70ddfc37ed24cc567 /plugins/picohttpparser | |
parent | e44dcb80f1fdab2751cd460325391676e4f1a466 (diff) | |
parent | 0f3703e641f0f995a8abb40056cb5430b6c228c4 (diff) | |
download | monitoring-plugins-aff54257822a507121aaaee0b6b8cdfdef41b615.tar.gz |
Merge pull request #1864 from waja/seperated_typo
Fix typos
Diffstat (limited to 'plugins/picohttpparser')
-rw-r--r-- | plugins/picohttpparser/picohttpparser.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/picohttpparser/picohttpparser.c b/plugins/picohttpparser/picohttpparser.c index d9680b7..d0bfac6 100644 --- a/plugins/picohttpparser/picohttpparser.c +++ b/plugins/picohttpparser/picohttpparser.c | |||
@@ -400,7 +400,7 @@ int phr_parse_request(const char *buf_start, size_t len, const char **method, si | |||
400 | *num_headers = 0; | 400 | *num_headers = 0; |
401 | 401 | ||
402 | /* if last_len != 0, check if the request is complete (a fast countermeasure | 402 | /* if last_len != 0, check if the request is complete (a fast countermeasure |
403 | againt slowloris */ | 403 | against slowloris */ |
404 | if (last_len != 0 && is_complete(buf, buf_end, last_len, &r) == NULL) { | 404 | if (last_len != 0 && is_complete(buf, buf_end, last_len, &r) == NULL) { |
405 | return r; | 405 | return r; |
406 | } | 406 | } |
@@ -435,7 +435,7 @@ static const char *parse_response(const char *buf, const char *buf_end, int *maj | |||
435 | } | 435 | } |
436 | PARSE_INT_3(status); | 436 | PARSE_INT_3(status); |
437 | 437 | ||
438 | /* get message includig preceding space */ | 438 | /* get message including preceding space */ |
439 | if ((buf = get_token_to_eol(buf, buf_end, msg, msg_len, ret)) == NULL) { | 439 | if ((buf = get_token_to_eol(buf, buf_end, msg, msg_len, ret)) == NULL) { |
440 | return NULL; | 440 | return NULL; |
441 | } | 441 | } |