diff options
author | Karl DeBisschop <kdebisschop@users.sourceforge.net> | 2003-07-29 03:05:50 +0000 |
---|---|---|
committer | Karl DeBisschop <kdebisschop@users.sourceforge.net> | 2003-07-29 03:05:50 +0000 |
commit | 2ea2edbd8b94042591f3ed3fdb1c8ff1ea5da49a (patch) | |
tree | 1001278e4aa3e33ef0062fc726dc700cbcfd5904 /plugins/check_http.c | |
parent | d34af31416f45547400c37705a75d75337addc43 (diff) | |
download | monitoring-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
Diffstat (limited to 'plugins/check_http.c')
-rw-r--r-- | plugins/check_http.c | 2 |
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 (); |