From f745ed4bc3263aa70d8f85d04fb2d2b35e9d555a Mon Sep 17 00:00:00 2001 From: Ton Voon Date: Wed, 31 Mar 2004 22:48:11 +0000 Subject: [PATCH] Set default state (Howard Wilkinson) git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@860 f882894a-f735-0410-b71e-b25c423dba1c --- plugins/netutils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/netutils.c b/plugins/netutils.c index 1fa69a3..c99983f 100644 --- a/plugins/netutils.c +++ b/plugins/netutils.c @@ -304,7 +304,7 @@ send_udp_request (int sd, const char *send_buffer, char *recv_buffer, int recv_s int send_request (int sd, int proto, const char *send_buffer, char *recv_buffer, int recv_size) { - int result; + int result = STATE_OK; int send_result; int recv_result; struct timeval tv; -- 2.30.2