summaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2023-03-11 10:40:00 (GMT)
committerAndreas Baumann <mail@andreasbaumann.cc>2023-03-11 10:40:00 (GMT)
commitea53555f2d6254da5fec0c1061899a01dd5321ec (patch)
tree6054edcf85ce8b1e70b3f6123188bf9f21b1eec1 /plugins
parent4e7f81fddb9d76491ad3443569d1ecbd844d38f6 (diff)
downloadmonitoring-plugins-ea53555f2d6254da5fec0c1061899a01dd5321ec.tar.gz
check_curl: removed a superflous variablerefs/pull/1847/head
Diffstat (limited to 'plugins')
-rw-r--r--plugins/check_curl.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/plugins/check_curl.c b/plugins/check_curl.c
index cc17ef5..e5be1ad 100644
--- a/plugins/check_curl.c
+++ b/plugins/check_curl.c
@@ -388,7 +388,6 @@ lookup_host (const char *host, char *buf, size_t buflen)
388 size_t addrstr_len; 388 size_t addrstr_len;
389 int errcode; 389 int errcode;
390 void *ptr; 390 void *ptr;
391 int s;
392 size_t buflen_remaining = buflen - 1; 391 size_t buflen_remaining = buflen - 1;
393 392
394 memset (&hints, 0, sizeof (hints)); 393 memset (&hints, 0, sizeof (hints));