summaryrefslogtreecommitdiffstats
path: root/plugins/check_ntp.c
diff options
context:
space:
mode:
authorThomas Guyot-Sionnest <dermoth@users.sourceforge.net>2007-12-04 11:14:36 (GMT)
committerThomas Guyot-Sionnest <dermoth@users.sourceforge.net>2007-12-04 11:14:36 (GMT)
commit6bf37c8cf669bcf32d8b0b263b20d7b91713942c (patch)
tree4663ac96f35d6cb9897309e1895d3133287531ac /plugins/check_ntp.c
parentef999f8f451043bfa0ae281149592ab190839fd9 (diff)
downloadmonitoring-plugins-6bf37c8cf669bcf32d8b0b263b20d7b91713942c.tar.gz
missing word in comment block.
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1838 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'plugins/check_ntp.c')
-rw-r--r--plugins/check_ntp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/check_ntp.c b/plugins/check_ntp.c
index 38562ac..164d519 100644
--- a/plugins/check_ntp.c
+++ b/plugins/check_ntp.c
@@ -772,7 +772,7 @@ int main(int argc, char *argv[]){
772 alarm (socket_timeout); 772 alarm (socket_timeout);
773 773
774 offset = offset_request(server_address, &offset_result); 774 offset = offset_request(server_address, &offset_result);
775 /* check_ntp used to always return if offset_result == STATE_UNKNOWN. 775 /* check_ntp used to always return CRITICAL if offset_result == STATE_UNKNOWN.
776 * Now we'll only do that is the offset thresholds were set */ 776 * Now we'll only do that is the offset thresholds were set */
777 if (do_offset && offset_result == STATE_UNKNOWN) { 777 if (do_offset && offset_result == STATE_UNKNOWN) {
778 result = STATE_CRITICAL; 778 result = STATE_CRITICAL;