summaryrefslogtreecommitdiffstats
path: root/plugins/check_http.c
diff options
context:
space:
mode:
authorKarl DeBisschop <kdebisschop@users.sourceforge.net>2003-07-29 03:05:50 +0000
committerKarl DeBisschop <kdebisschop@users.sourceforge.net>2003-07-29 03:05:50 +0000
commit2ea2edbd8b94042591f3ed3fdb1c8ff1ea5da49a (patch)
tree1001278e4aa3e33ef0062fc726dc700cbcfd5904 /plugins/check_http.c
parentd34af31416f45547400c37705a75d75337addc43 (diff)
downloadmonitoring-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.c2
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)
348 348
349 switch (c) { 349 switch (c) {
350 case '?': /* usage */ 350 case '?': /* usage */
351 usage2 ("unknown argument", optarg); 351 usage3 ("unknown argument", optopt);
352 break; 352 break;
353 case 'h': /* help */ 353 case 'h': /* help */
354 print_help (); 354 print_help ();