summaryrefslogtreecommitdiffstats
path: root/plugins/check_http.c
diff options
context:
space:
mode:
authorLorenz <12514511+RincewindsHat@users.noreply.github.com>2023-05-08 18:24:11 (GMT)
committerGitHub <noreply@github.com>2023-05-08 18:24:11 (GMT)
commit869cca59d857fde53b5a435cb8390f54058e8687 (patch)
treebc9aa773537691078fdac52222c0a8d34882629d /plugins/check_http.c
parent72d34baf718e12a88e978c69369b96baf63ef97a (diff)
parent6c78f0b5ea82a4bea71ae2024f27d3916175a7a2 (diff)
downloadmonitoring-plugins-869cca59d857fde53b5a435cb8390f54058e8687.tar.gz
Merge pull request #1866 from RincewindsHat/compiler_warning_part_1
Compiler warning part 1
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;