Code

Set default state (Howard Wilkinson)
authorTon Voon <tonvoon@users.sourceforge.net>
Wed, 31 Mar 2004 22:48:11 +0000 (22:48 +0000)
committerTon Voon <tonvoon@users.sourceforge.net>
Wed, 31 Mar 2004 22:48:11 +0000 (22:48 +0000)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@860 f882894a-f735-0410-b71e-b25c423dba1c

plugins/netutils.c

index 1fa69a358f86101d063a494f685102dbeb4e9955..c99983f03bd9e68a2cbeb348efce2d0b0a1ed1e3 100644 (file)
@@ -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;