summaryrefslogtreecommitdiffstats
path: root/plugins/check_dns.c
diff options
context:
space:
mode:
authorTon Voon <tonvoon@users.sourceforge.net>2003-03-13 21:14:26 +0000
committerTon Voon <tonvoon@users.sourceforge.net>2003-03-13 21:14:26 +0000
commitd3132db7eccca512f03edae954f360a663a6e9e5 (patch)
tree7255f754a27007809184ef011b0823c0f6e32980 /plugins/check_dns.c
parent18a68256da0a95dbb511ec28c86a4613d325ebb5 (diff)
downloadmonitoring-plugins-d3132db7eccca512f03edae954f360a663a6e9e5.tar.gz
Strip leading spaces in perf data
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@421 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'plugins/check_dns.c')
-rw-r--r--plugins/check_dns.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/check_dns.c b/plugins/check_dns.c
index 2503293b..2765f643 100644
--- a/plugins/check_dns.c
+++ b/plugins/check_dns.c
@@ -193,7 +193,7 @@ main (int argc, char **argv)
193 else 193 else
194 multi_address = TRUE; 194 multi_address = TRUE;
195 195
196 printf ("DNS ok - %-5.3f seconds response time, address%s %s|time=%-5.3f\n", 196 printf ("DNS ok - %.3f seconds response time, address%s %s|time=%.3f\n",
197 elapsed_time, (multi_address==TRUE ? "es are" : " is"), address, elapsed_time); 197 elapsed_time, (multi_address==TRUE ? "es are" : " is"), address, elapsed_time);
198 } 198 }
199 else if (result == STATE_WARNING) 199 else if (result == STATE_WARNING)