diff options
Diffstat (limited to 'plugins/check_udp.c')
-rw-r--r-- | plugins/check_udp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/check_udp.c b/plugins/check_udp.c index 4074d94..4ae9c10 100644 --- a/plugins/check_udp.c +++ b/plugins/check_udp.c | |||
@@ -220,9 +220,9 @@ process_arguments (int argc, char **argv) | |||
220 | usage ("Invalid host name/address\n"); | 220 | usage ("Invalid host name/address\n"); |
221 | server_address = argv[c++]; | 221 | server_address = argv[c++]; |
222 | } | 222 | } |
223 | else { | 223 | |
224 | if (server_address == NULL) | ||
224 | usage ("Host name was not supplied\n"); | 225 | usage ("Host name was not supplied\n"); |
225 | } | ||
226 | 226 | ||
227 | return c; | 227 | return c; |
228 | } | 228 | } |