From 2ea2edbd8b94042591f3ed3fdb1c8ff1ea5da49a Mon Sep 17 00:00:00 2001 From: Karl DeBisschop Date: Tue, 29 Jul 2003 03:05:50 +0000 Subject: [PATCH] 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 --- plugins/check_http.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 (); -- 2.30.2