diff options
author | RincewindsHat <12514511+RincewindsHat@users.noreply.github.com> | 2023-03-05 15:50:48 +0100 |
---|---|---|
committer | RincewindsHat <12514511+RincewindsHat@users.noreply.github.com> | 2023-04-18 00:12:58 +0200 |
commit | cee364f219ed73c75a4c4bfb5ac148b8a721780c (patch) | |
tree | 009ff8aa44f0df5597822115a04e010f6596e7e7 | |
parent | 1568940b3ea871ffb29d9bf1990cfa0528712b8d (diff) | |
download | monitoring-plugins-cee364f219ed73c75a4c4bfb5ac148b8a721780c.tar.gz |
Remove unused variable from check_http
-rw-r--r-- | plugins/check_http.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/plugins/check_http.c b/plugins/check_http.c index 8c03bc8b..6956a726 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; |