aboutsummaryrefslogtreecommitdiff
path: root/plugins/netutils.c
diff options
context:
space:
mode:
authorGravatar Ton Voon <tonvoon@users.sourceforge.net> 2004-03-31 22:48:11 +0000
committerGravatar Ton Voon <tonvoon@users.sourceforge.net> 2004-03-31 22:48:11 +0000
commitf745ed4bc3263aa70d8f85d04fb2d2b35e9d555a (patch)
tree21620fa06de646b685c2f3295dd39efb0c83d6c9 /plugins/netutils.c
parentccbf44b6d8c16390ed5c00572d28bc2bd16b8a32 (diff)
downloadmonitoring-plugins-f745ed4bc3263aa70d8f85d04fb2d2b35e9d555a.tar.gz
Set default state (Howard Wilkinson)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@860 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'plugins/netutils.c')
-rw-r--r--plugins/netutils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/netutils.c b/plugins/netutils.c
index 1fa69a35..c99983f0 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;