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

hweiss at users.sourceforge.net hweiss at users.sourceforge.net
Tue Jan 8 03:06:35 CET 2008


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.




More information about the Commits mailing list