summaryrefslogtreecommitdiffstats
path: root/plugins-root/check_icmp.c
diff options
context:
space:
mode:
authorHolger Weiss <hweiss@users.sourceforge.net>2008-01-08 02:06:35 (GMT)
committerHolger Weiss <hweiss@users.sourceforge.net>2008-01-08 02:06:35 (GMT)
commitbe1ba84de55fe011aef3157d41c84e86e5ebaf15 (patch)
treefe22c200ef00f7357b917cbcfe3020316a777587 /plugins-root/check_icmp.c
parent6a00f7ecdd12dca8126b6674bf7f9ab7f36d591e (diff)
downloadmonitoring-plugins-be1ba84de55fe011aef3157d41c84e86e5ebaf15.tar.gz
Hide some debug output which was printed even without "-v" (under
certain circumstances). git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1897 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'plugins-root/check_icmp.c')
-rw-r--r--plugins-root/check_icmp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins-root/check_icmp.c b/plugins-root/check_icmp.c
index a5e898a..49b40f9 100644
--- a/plugins-root/check_icmp.c
+++ b/plugins-root/check_icmp.c
@@ -1110,7 +1110,7 @@ add_target(char *arg)
1110 1110
1111 /* this is silly, but it works */ 1111 /* this is silly, but it works */
1112 if(mode == MODE_HOSTCHECK || mode == MODE_ALL) { 1112 if(mode == MODE_HOSTCHECK || mode == MODE_ALL) {
1113 printf("mode: %d\n", mode); 1113 if(debug > 2) printf("mode: %d\n", mode);
1114 continue; 1114 continue;
1115 } 1115 }
1116 break; 1116 break;