Code

check_ntp: Fixed typo in typo in argument sanity check. Thanks to Aurelien Bompard...
authorMatthias Eble <psychotrahe@users.sourceforge.net>
Sat, 14 Jul 2007 18:30:21 +0000 (18:30 +0000)
committerMatthias Eble <psychotrahe@users.sourceforge.net>
Sat, 14 Jul 2007 18:30:21 +0000 (18:30 +0000)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1756 f882894a-f735-0410-b71e-b25c423dba1c

THANKS.in
plugins/check_ntp.c

index f666248ebc4a9b5846eb1b817cfe0fd154dd5f8b..abe1ce4acbab8ff7d001b7c6a1b28cb21b6180bb 100644 (file)
--- a/THANKS.in
+++ b/THANKS.in
@@ -220,3 +220,4 @@ Matthias Flacke
 Emil Michles
 Ask Bjoern Hansen
 Daniel Bimschas
+Aurelien Bompard
index a884c15ea9b486311708171147bec4eab8cb9592..28c23d84309895e7bdef7f30cd192e6e9a1f75c5 100644 (file)
@@ -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"));
        }