SF.net SVN: nagiosplug: [1897] nagiosplug/trunk/plugins-root/check_icmp.c

[email protected]
Newsgroups gmane.network.nagios.plugins.cvs
Message-ID <[email protected]>
Revision: 1897
          http://nagiosplug.svn.sourceforge.net/nagiosplug/?rev=1897&view=rev
Author:   hweiss
Date:     2008-01-07 18:06:35 -0800 (Mon, 07 Jan 2008)

Log Message:
-----------
Hide some debug output which was printed even without "-v" (under
certain circumstances).

Modified Paths:
--------------
    nagiosplug/trunk/plugins-root/check_icmp.c

Modified: nagiosplug/trunk/plugins-root/check_icmp.c
===================================================================
--- nagiosplug/trunk/plugins-root/check_icmp.c	2008-01-08 01:51:14 UTC (rev 1896)
+++ nagiosplug/trunk/plugins-root/check_icmp.c	2008-01-08 02:06:35 UTC (rev 1897)
@@ -1110,7 +1110,7 @@
 
 		/* 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;


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.