From d8218696f145a21f758ef280c41727dd20b1992e Mon Sep 17 00:00:00 2001 From: Karl DeBisschop Date: Tue, 29 Jul 2003 03:05:50 +0000 Subject: patch attempt to reference undefined optarg (credit Paul Farrall) git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/branches/release-1.3.0@612 f882894a-f735-0410-b71e-b25c423dba1c --- plugins/check_http.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/check_http.c') diff --git a/plugins/check_http.c b/plugins/check_http.c index dddddf97..6a216a5c 100644 --- a/plugins/check_http.c +++ b/plugins/check_http.c @@ -344,7 +344,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 (); -- cgit v1.2.3-74-g34f1