[Nagiosplug-checkins] CVS: nagiosplug/plugins check_nt.c,1.21,1.22

Ton Voon tonvoon at users.sourceforge.net
Wed Mar 31 15:06:00 CEST 2004


Update of /cvsroot/nagiosplug/nagiosplug/plugins
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25673

Modified Files:
	check_nt.c 
Log Message:
Command line argument bug (Howard Wilkinson)


Index: check_nt.c
===================================================================
RCS file: /cvsroot/nagiosplug/nagiosplug/plugins/check_nt.c,v
retrieving revision 1.21
retrieving revision 1.22
diff -C2 -r1.21 -r1.22
*** check_nt.c	12 Nov 2003 05:53:06 -0000	1.21
--- check_nt.c	31 Mar 2004 22:53:25 -0000	1.22
***************
*** 181,185 ****
  		if (value_list==NULL)
  			output_message = strdup (_("missing -l parameters"));
! 		else if (strlen(value_list)==1)
  			output_message = strdup (_("wrong -l argument"));
  		else {
--- 181,185 ----
  		if (value_list==NULL)
  			output_message = strdup (_("missing -l parameters"));
! 		else if (strlen(value_list)!=1)
  			output_message = strdup (_("wrong -l argument"));
  		else {





More information about the Commits mailing list