summaryrefslogtreecommitdiffstats
path: root/plugins/check_http.c
diff options
context:
space:
mode:
authorwaja <waja@users.noreply.github.com>2023-06-28 14:38:22 (GMT)
committerGitHub <noreply@github.com>2023-06-28 14:38:22 (GMT)
commit9ef6660cab8eb2b017323b9e000cb3560f07886b (patch)
treee88c70524d4289bbe175f3601e20704690f29f28 /plugins/check_http.c
parentb4e578e2cd835221ee343e56923588828d36f99b (diff)
parentb24eb7f46ac8667324efd818c01d68d5a1376c89 (diff)
downloadmonitoring-plugins-9ef6660cab8eb2b017323b9e000cb3560f07886b.tar.gz
Merge branch 'master' into compiler_warning_part_6
Diffstat (limited to 'plugins/check_http.c')
-rw-r--r--plugins/check_http.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/plugins/check_http.c b/plugins/check_http.c
index 8c03bc8..6956a72 100644
--- a/plugins/check_http.c
+++ b/plugins/check_http.c
@@ -1391,7 +1391,6 @@ char *unchunk_content(const char *content) {
1391 // https://en.wikipedia.org/wiki/Chunked_transfer_encoding 1391 // https://en.wikipedia.org/wiki/Chunked_transfer_encoding
1392 // https://www.rfc-editor.org/rfc/rfc7230#section-4.1 1392 // https://www.rfc-editor.org/rfc/rfc7230#section-4.1
1393 char *result = NULL; 1393 char *result = NULL;
1394 size_t content_length = strlen(content);
1395 char *start_of_chunk; 1394 char *start_of_chunk;
1396 char* end_of_chunk; 1395 char* end_of_chunk;
1397 long size_of_chunk; 1396 long size_of_chunk;