aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Karl DeBisschop <kdebisschop@users.sourceforge.net> 2003-07-29 03:05:50 +0000
committerGravatar Karl DeBisschop <kdebisschop@users.sourceforge.net> 2003-07-29 03:05:50 +0000
commit2ea2edbd8b94042591f3ed3fdb1c8ff1ea5da49a (patch)
tree1001278e4aa3e33ef0062fc726dc700cbcfd5904
parentd34af31416f45547400c37705a75d75337addc43 (diff)
downloadmonitoring-plugins-2ea2edbd8b94042591f3ed3fdb1c8ff1ea5da49a.tar.gz
patch attempt to reference undefined optarg (credit Paul Farrall)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@612 f882894a-f735-0410-b71e-b25c423dba1c
-rw-r--r--plugins/check_http.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/check_http.c b/plugins/check_http.c
index 038ac68a..2f693328 100644
--- a/plugins/check_http.c
+++ b/plugins/check_http.c
@@ -348,7 +348,7 @@ process_arguments (int argc, char **argv)
switch (c) {
case '?': /* usage */
- usage2 ("unknown argument", optarg);
+ usage3 ("unknown argument", optopt);
break;
case 'h': /* help */
print_help ();