summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--plugins/check_curl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/check_curl.c b/plugins/check_curl.c
index 153e492..c59fa7e 100644
--- a/plugins/check_curl.c
+++ b/plugins/check_curl.c
@@ -395,7 +395,7 @@ lookup_host (const char *host, char *buf, size_t buflen)
395 char addrstr[100]; 395 char addrstr[100];
396 size_t addrstr_len; 396 size_t addrstr_len;
397 int errcode; 397 int errcode;
398 void *ptr; 398 void *ptr = { 0 };
399 size_t buflen_remaining = buflen - 1; 399 size_t buflen_remaining = buflen - 1;
400 400
401 memset (&hints, 0, sizeof (hints)); 401 memset (&hints, 0, sizeof (hints));