INN commit: branches/2.6/backends (actsync.c)

INN Commit rra at isc.org
Mon Oct 16 04:17:02 UTC 2017


    Date: Sunday, October 15, 2017 @ 21:17:01
  Author: eagle
Revision: 10182

actsync: fix misleading indentation

Only do the flush when debugging is on.  Backported from r10052
on CURRENT by iulius.

Modified:
  branches/2.6/backends/actsync.c

-----------+
 actsync.c |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Modified: actsync.c
===================================================================
--- actsync.c	2017-10-16 04:13:18 UTC (rev 10181)
+++ actsync.c	2017-10-16 04:17:01 UTC (rev 10182)
@@ -2579,10 +2579,11 @@
 
     /* pause if in non-interactive mode so as to not busy-out the server */
     if (mode == OUTPUT_EXEC && z_flag > 0) {
-	if (D_BUG)
+	if (D_BUG) {
             warn("sleeping %d seconds before fork/exec", z_flag);
 	    /* be sure they know what we are stalling */
 	    fflush(stderr);
+        }
 	sleep(z_flag);
     }
 



More information about the inn-committers mailing list