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 diff --git a/plugins/check_http.c b/plugins/check_http.c index dddddf9..6a216a5 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 v0.10-9-g596f