INN commit: trunk/frontends (cnfsstat.in)

INN Commit Russ_Allbery at isc.org
Sun Feb 3 01:48:23 UTC 2008


    Date: Saturday, February 2, 2008 @ 17:48:23
  Author: jeff
Revision: 7711

Use "!" instead of "==0" to prevent uninitialized variable warnings.

Modified:
  trunk/frontends/cnfsstat.in

-------------+
 cnfsstat.in |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: cnfsstat.in
===================================================================
--- cnfsstat.in	2008-01-25 16:10:35 UTC (rev 7710)
+++ cnfsstat.in	2008-02-03 01:48:23 UTC (rev 7711)
@@ -174,7 +174,7 @@
 	    }
 	    &print_cycbuff_head($buff{$b});
 	}
-	if ($use_syslog == 0) {
+	if (!$use_syslog) {
 	    print STDOUT "\n";
 	}
     }
@@ -182,7 +182,7 @@
 
 if(defined($opt_l)) {
     sleep($sleeptime);
-    if ($use_syslog == 0) {
+    if (!$use_syslog) {
 	print STDOUT "$sleeptime seconds later:\n";
     }
     goto START;



More information about the inn-committers mailing list