From 06372d2d910f714af5390d348a361b883a644897 Mon Sep 17 00:00:00 2001
From: Matthias Eble <psychotrahe@users.sourceforge.net>
Date: Sat, 14 Jul 2007 18:30:21 +0000
Subject: check_ntp: Fixed typo in typo in argument sanity check. Thanks to
 Aurelien Bompard (#1753506)

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1756 f882894a-f735-0410-b71e-b25c423dba1c

diff --git a/THANKS.in b/THANKS.in
index f666248..abe1ce4 100644
--- a/THANKS.in
+++ b/THANKS.in
@@ -220,3 +220,4 @@ Matthias Flacke
 Emil Michles
 Ask Bjoern Hansen
 Daniel Bimschas
+Aurelien Bompard
diff --git a/plugins/check_ntp.c b/plugins/check_ntp.c
index a884c15..28c23d8 100644
--- a/plugins/check_ntp.c
+++ b/plugins/check_ntp.c
@@ -720,7 +720,7 @@ int process_arguments(int argc, char **argv){
 		usage4(_("Critical offset should be larger than warning offset"));
 	}
 
-	if (ocrit < owarn){
+	if (jcrit < jwarn){
 		usage4(_("Critical jitter should be larger than warning jitter"));
 	}
 
-- 
cgit v0.10-9-g596f

