diff options
-rw-r--r-- | plugins-root/check_icmp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins-root/check_icmp.c b/plugins-root/check_icmp.c index 317cd53..e59e92d 100644 --- a/plugins-root/check_icmp.c +++ b/plugins-root/check_icmp.c | |||
@@ -1339,7 +1339,7 @@ add_target_ip(char *arg, struct sockaddr_storage *in) | |||
1339 | static int | 1339 | static int |
1340 | add_target(char *arg) | 1340 | add_target(char *arg) |
1341 | { | 1341 | { |
1342 | int error, result; | 1342 | int error, result = -1; |
1343 | struct sockaddr_storage ip; | 1343 | struct sockaddr_storage ip; |
1344 | struct addrinfo hints, *res, *p; | 1344 | struct addrinfo hints, *res, *p; |
1345 | struct sockaddr_in *sin; | 1345 | struct sockaddr_in *sin; |