[Nagiosplug-checkins] CVS: nagiosplug/plugins check_http.c,1.24.2.4,1.24.2.5

Karl DeBisschop kdebisschop at users.sourceforge.net
Mon Jul 28 20:05:49 CEST 2003


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

Modified Files:
      Tag: r1_3_0
	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.24.2.4
retrieving revision 1.24.2.5
diff -C2 -r1.24.2.4 -r1.24.2.5
*** check_http.c	21 Jun 2003 05:31:23 -0000	1.24.2.4
--- check_http.c	29 Jul 2003 03:04:51 -0000	1.24.2.5
***************
*** 345,349 ****
  		switch (c) {
  		case '?': /* usage */
! 			usage2 ("unknown argument", optarg);
  			break;
  		case 'h': /* help */
--- 345,349 ----
  		switch (c) {
  		case '?': /* usage */
! 			usage3 ("unknown argument", optopt);
  			break;
  		case 'h': /* help */





More information about the Commits mailing list