diff options
author | Karl DeBisschop <kdebisschop@users.sourceforge.net> | 2003-07-29 03:05:50 +0000 |
---|---|---|
committer | Karl DeBisschop <kdebisschop@users.sourceforge.net> | 2003-07-29 03:05:50 +0000 |
commit | d8218696f145a21f758ef280c41727dd20b1992e (patch) | |
tree | b2e3912e6f3551e0baea1121fdbfb718539bc83d /plugins/check_http.c | |
parent | dba35b4803a785b2d43da4b282b2e272aedcf0e6 (diff) | |
download | monitoring-plugins-d8218696f145a21f758ef280c41727dd20b1992e.tar.gz |
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
Diffstat (limited to 'plugins/check_http.c')
-rw-r--r-- | plugins/check_http.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) | |||
344 | 344 | ||
345 | switch (c) { | 345 | switch (c) { |
346 | case '?': /* usage */ | 346 | case '?': /* usage */ |
347 | usage2 ("unknown argument", optarg); | 347 | usage3 ("unknown argument", optopt); |
348 | break; | 348 | break; |
349 | case 'h': /* help */ | 349 | case 'h': /* help */ |
350 | print_help (); | 350 | print_help (); |