From be1ba84de55fe011aef3157d41c84e86e5ebaf15 Mon Sep 17 00:00:00 2001 From: Holger Weiss Date: Tue, 8 Jan 2008 02:06:35 +0000 Subject: 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 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) /* this is silly, but it works */ if(mode == MODE_HOSTCHECK || mode == MODE_ALL) { - printf("mode: %d\n", mode); + if(debug > 2) printf("mode: %d\n", mode); continue; } break; -- cgit v0.10-9-g596f