CURRENT innd.c buglet

greg andruk gja at meowing.net
Mon Sep 2 06:59:56 UTC 2002



Need to initialize fd[1] when innd is run without -p .

--- innd.c~     2002-09-01 23:28:04.000000000 -0400
+++ innd.c      2002-09-02 02:52:01.000000000 -0400
@@ -331,7 +331,7 @@
     ShouldFork = TRUE;
     ShouldRenumber = FALSE;
     ShouldSyntaxCheck = FALSE;
-    fd[0] = -1;
+    fd[0] = fd[1] = -1;

     /* Set some options from inn.conf that can be overridden with
        command-line options if they exist, so read inn.conf first. */



More information about the inn-patches mailing list