diff options
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 ac221025..da9a1420 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) { |