[Nagiosplug-checkins] CVS: nagiosplug/plugins check_dns.c,1.8.2.1,1.8.2.2

Karl DeBisschop kdebisschop at users.sourceforge.net
Sat May 31 07:23:02 CEST 2003


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

Modified Files:
      Tag: r1_3_0
	check_dns.c 
Log Message:
typo in args to terminate

Index: check_dns.c
===================================================================
RCS file: /cvsroot/nagiosplug/nagiosplug/plugins/check_dns.c,v
retrieving revision 1.8.2.1
retrieving revision 1.8.2.2
diff -C2 -r1.8.2.1 -r1.8.2.2
*** check_dns.c	31 May 2003 14:04:05 -0000	1.8.2.1
--- check_dns.c	31 May 2003 14:22:06 -0000	1.8.2.2
***************
*** 140,144 ****
  				strip (address);
  				if (address==NULL || strlen(address)==0)
! 					terminate (STATE_CRITICAL, "DNS CRITICAL - '%s' returned empty host name string", %s);
  				result = STATE_OK;
  			}
--- 140,144 ----
  				strip (address);
  				if (address==NULL || strlen(address)==0)
! 					terminate (STATE_CRITICAL, "DNS CRITICAL - '%s' returned empty host name string", NSLOOKUP_COMMAND);
  				result = STATE_OK;
  			}





More information about the Commits mailing list