From: Karl DeBisschop Date: Tue, 29 Jul 2003 03:05:50 +0000 (+0000) Subject: patch attempt to reference undefined optarg (credit Paul Farrall) X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=2ea2edbd8b94042591f3ed3fdb1c8ff1ea5da49a;p=nagiosplug.git 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 --- diff --git a/plugins/check_http.c b/plugins/check_http.c index 038ac68..2f69332 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 ();