[Nagiosplug-checkins] CVS: nagiosplug/plugins check_http.c,1.36,1.37

Karl DeBisschop kdebisschop at users.sourceforge.net
Mon Jul 28 20:06:13 CEST 2003


Update of /cvsroot/nagiosplug/nagiosplug/plugins
In directory sc8-pr-cvs1:/tmp/cvs-serv31803/plugins

Modified Files:
	check_http.c 
Log Message:
patch attempt to reference undefined optarg (credit Paul Farrall)

Index: check_http.c
===================================================================
RCS file: /cvsroot/nagiosplug/nagiosplug/plugins/check_http.c,v
retrieving revision 1.36
retrieving revision 1.37
diff -C2 -r1.36 -r1.37
*** check_http.c	30 Jun 2003 19:47:18 -0000	1.36
--- check_http.c	29 Jul 2003 03:05:50 -0000	1.37
***************
*** 349,353 ****
  		switch (c) {
  		case '?': /* usage */
! 			usage2 ("unknown argument", optarg);
  			break;
  		case 'h': /* help */
--- 349,353 ----
  		switch (c) {
  		case '?': /* usage */
! 			usage3 ("unknown argument", optopt);
  			break;
  		case 'h': /* help */





More information about the Commits mailing list