summaryrefslogtreecommitdiffstats
path: root/plugins/check_dig.c
diff options
context:
space:
mode:
authorJeremy T. Bouse <undrgrid@users.sourceforge.net>2003-03-12 02:29:48 +0000
committerJeremy T. Bouse <undrgrid@users.sourceforge.net>2003-03-12 02:29:48 +0000
commit91b223642a7b7f493cf87f507928d249ede27e5a (patch)
treebb3f6a3c74a1b7f806fa22b1ee0ad07480b4fa71 /plugins/check_dig.c
parent831d03cd768cb4d1f96d3cabd6262a0a55f904e7 (diff)
downloadmonitoring-plugins-91b223642a7b7f493cf87f507928d249ede27e5a.tar.gz
Code clean-up
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@403 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'plugins/check_dig.c')
-rw-r--r--plugins/check_dig.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/check_dig.c b/plugins/check_dig.c
index 59c3b7c8..8eb2b9b3 100644
--- a/plugins/check_dig.c
+++ b/plugins/check_dig.c
@@ -128,7 +128,7 @@ main (int argc, char **argv)
128 asprintf (&output, " Probably a non-existent host/domain"); 128 asprintf (&output, " Probably a non-existent host/domain");
129 129
130 if (result == STATE_OK) 130 if (result == STATE_OK)
131 printf ("DNS ok - %d seconds response time (%s)\n", 131 printf ("DNS OK - %d seconds response time (%s)\n",
132 (int) (end_time - start_time), output); 132 (int) (end_time - start_time), output);
133 else if (result == STATE_WARNING) 133 else if (result == STATE_WARNING)
134 printf ("DNS WARNING - %s\n", output); 134 printf ("DNS WARNING - %s\n", output);