[Nagiosplug-checkins] nagiosplug/plugins check_dns.c,1.40,1.41 check_hpjd.c,1.29,1.30

Benoit Mortier opensides at users.sourceforge.net
Sat Dec 4 02:58:01 CET 2004


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

Modified Files:
	check_dns.c check_hpjd.c 
Log Message:

check_dns needs a space between 'time' and the hostname
check_hpjd needs a parenthesis removed in print_usage()



Index: check_hpjd.c
===================================================================
RCS file: /cvsroot/nagiosplug/nagiosplug/plugins/check_hpjd.c,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -d -r1.29 -r1.30
--- check_hpjd.c	3 Dec 2004 23:55:28 -0000	1.29
+++ check_hpjd.c	4 Dec 2004 10:57:12 -0000	1.30
@@ -398,5 +398,5 @@
 void
 print_usage (void)
 {
-	printf ("Usage: %s -H host [-C community]\n"), progname);
+	printf ("Usage: %s -H host [-C community]\n", progname);
 }

Index: check_dns.c
===================================================================
RCS file: /cvsroot/nagiosplug/nagiosplug/plugins/check_dns.c,v
retrieving revision 1.40
retrieving revision 1.41
diff -u -d -r1.40 -r1.41
--- check_dns.c	3 Dec 2004 23:55:28 -0000	1.40
+++ check_dns.c	4 Dec 2004 10:57:12 -0000	1.41
@@ -196,7 +196,7 @@
 			multi_address = TRUE;
 
 		printf ("DNS %s: ", _("OK"));
-		printf (_("%.3f seconds response time"), elapsed_time);
+		printf (_("%.3f seconds response time "), elapsed_time);
 		printf (_("%s returns %s"), query_address, address);
 		printf ("|%s\n", fperfdata ("time", elapsed_time, "s", FALSE, 0, FALSE, 0, TRUE, 0, FALSE, 0));
 	}





More information about the Commits mailing list