nagiosplug/plugins check_ntp.c,1.25,1.26

Matthias Eble <[email protected]>
Newsgroups gmane.network.nagios.plugins.cvs
Message-ID <[email protected]>
Update of /cvsroot/nagiosplug/nagiosplug/plugins
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv29867/plugins

Modified Files:
	check_ntp.c 
Log Message:
check_ntp: Fixed typo in typo in argument sanity check. Thanks to Aurelien Bompard (#1753506)


Index: check_ntp.c
===================================================================
RCS file: /cvsroot/nagiosplug/nagiosplug/plugins/check_ntp.c,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -d -r1.25 -r1.26
--- check_ntp.c	10 Apr 2007 07:17:18 -0000	1.25
+++ check_ntp.c	14 Jul 2007 18:30:10 -0000	1.26
@@ -720,7 +720,7 @@
 		usage4(_("Critical offset should be larger than warning offset"));
 	}
 
-	if (ocrit < owarn){
+	if (jcrit < jwarn){
 		usage4(_("Critical jitter should be larger than warning jitter"));
 	}
 


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.