summaryrefslogtreecommitdiffstats
path: root/plugins/check_http.c
diff options
context:
space:
mode:
authorwaja <waja@users.noreply.github.com>2023-06-28 14:39:27 (GMT)
committerGitHub <noreply@github.com>2023-06-28 14:39:27 (GMT)
commit265a7c0ed8ccde7868bb7e77c44aecc403743c21 (patch)
tree3a02f6ce03e8f781dcfca22ee1f17817225a0ff9 /plugins/check_http.c
parentb96a8424f0ec6206238b650c2c63b4bd006ab43a (diff)
parentb24eb7f46ac8667324efd818c01d68d5a1376c89 (diff)
downloadmonitoring-plugins-265a7c0ed8ccde7868bb7e77c44aecc403743c21.tar.gz
Merge branch 'master' into compiler_warning_part_2refs/pull/1867/head
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 432a984..1288c41 100644
--- a/plugins/check_http.c
+++ b/plugins/check_http.c
@@ -1392,7 +1392,6 @@ char *unchunk_content(const char *content) {
1392 // https://en.wikipedia.org/wiki/Chunked_transfer_encoding 1392 // https://en.wikipedia.org/wiki/Chunked_transfer_encoding
1393 // https://www.rfc-editor.org/rfc/rfc7230#section-4.1 1393 // https://www.rfc-editor.org/rfc/rfc7230#section-4.1
1394 char *result = NULL; 1394 char *result = NULL;
1395 size_t content_length = strlen(content);
1396 char *start_of_chunk; 1395 char *start_of_chunk;
1397 char* end_of_chunk; 1396 char* end_of_chunk;
1398 long size_of_chunk; 1397 long size_of_chunk;