INN commit: trunk/contrib (reset-cnfs.c)

INN Commit rra at isc.org
Mon May 25 10:06:52 UTC 2015


    Date: Monday, May 25, 2015 @ 03:06:51
  Author: iulius
Revision: 9886

contrib/reset-cnfs.c:  The status was not correctly updated

It may have returned true even though an error occurred.

Modified:
  trunk/contrib/reset-cnfs.c

--------------+
 reset-cnfs.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: reset-cnfs.c
===================================================================
--- reset-cnfs.c	2015-05-25 10:05:26 UTC (rev 9885)
+++ reset-cnfs.c	2015-05-25 10:06:51 UTC (rev 9886)
@@ -53,9 +53,9 @@
                     }
                     write(fd, buf, sizeof(buf));
                 }
+                status = true;
             }
             close(fd);
-            status = true;
         }
     }
 



More information about the inn-committers mailing list