diff options
author | Jeremy T. Bouse <undrgrid@users.sourceforge.net> | 2003-03-12 02:29:48 (GMT) |
---|---|---|
committer | Jeremy T. Bouse <undrgrid@users.sourceforge.net> | 2003-03-12 02:29:48 (GMT) |
commit | 91b223642a7b7f493cf87f507928d249ede27e5a (patch) | |
tree | bb3f6a3c74a1b7f806fa22b1ee0ad07480b4fa71 /plugins/check_udp.c | |
parent | 831d03cd768cb4d1f96d3cabd6262a0a55f904e7 (diff) | |
download | monitoring-plugins-91b223642a7b7f493cf87f507928d249ede27e5a.tar.gz |
Code clean-up
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@403 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'plugins/check_udp.c')
-rw-r--r-- | plugins/check_udp.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/plugins/check_udp.c b/plugins/check_udp.c index ac22102..da9a142 100644 --- a/plugins/check_udp.c +++ b/plugins/check_udp.c | |||
@@ -74,9 +74,8 @@ main (int argc, char **argv) | |||
74 | alarm (socket_timeout); | 74 | alarm (socket_timeout); |
75 | 75 | ||
76 | time (&start_time); | 76 | time (&start_time); |
77 | result = | 77 | result = process_udp_request (server_address, server_port, server_send, |
78 | process_udp_request (server_address, server_port, server_send, | 78 | recv_buffer, MAX_INPUT_BUFFER - 1); |
79 | recv_buffer, MAX_INPUT_BUFFER - 1); | ||
80 | time (&end_time); | 79 | time (&end_time); |
81 | 80 | ||
82 | if (result != STATE_OK) { | 81 | if (result != STATE_OK) { |