summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 2e641a0)
raw | patch | inline | side by side (parent: 2e641a0)
author | Karl DeBisschop <kdebisschop@users.sourceforge.net> | |
Fri, 7 Mar 2003 06:43:50 +0000 (06:43 +0000) | ||
committer | Karl DeBisschop <kdebisschop@users.sourceforge.net> | |
Fri, 7 Mar 2003 06:43:50 +0000 (06:43 +0000) |
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@372 f882894a-f735-0410-b71e-b25c423dba1c
plugins/check_udp.c | patch | blob | history |
diff --git a/plugins/check_udp.c b/plugins/check_udp.c
index 4074d948453f9628e3120337ec19945e3fb39c14..4ae9c1036319f96a732df3e401b6f7a4c16e7104 100644 (file)
--- a/plugins/check_udp.c
+++ b/plugins/check_udp.c
usage ("Invalid host name/address\n");
server_address = argv[c++];
}
- else {
+
+ if (server_address == NULL)
usage ("Host name was not supplied\n");
- }
return c;
}