INN commit: trunk/backends (actsync.c)

INN Commit rra at isc.org
Sat Aug 27 19:25:13 UTC 2016


    Date: Saturday, August 27, 2016 @ 12:25:13
  Author: iulius
Revision: 10052

actsync:  fix misleading indentation

Only do the flush when debugging is on.

Modified:
  trunk/backends/actsync.c

-----------+
 actsync.c |    9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

Modified: actsync.c
===================================================================
--- actsync.c	2016-08-27 19:18:56 UTC (rev 10051)
+++ actsync.c	2016-08-27 19:25:13 UTC (rev 10052)
@@ -2578,11 +2578,12 @@
 
     /* 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);
+            /* be sure they know what we are stalling */
+            fflush(stderr);
+        }
+        sleep(z_flag);
     }
 
     /* fork the child process */



More information about the inn-committers mailing list