Got it!

This fclose is inside an if that checks for a faulure opening fs. The file is not open so fclose() is a fatal error. Remove it.

Patch follows...

===================================================================
RCS file: /cvsroot/qmailadmin/qmailadmin/alias.c,v
retrieving revision 1.2
diff -u -r1.2 alias.c
--- alias.c     10 Oct 2003 16:36:24 -0000      1.2
+++ alias.c     26 Dec 2003 11:12:25 -0000
@@ -115,7 +115,6 @@
         fprintf(actout,"<tr><td colspan=4>");
         fprintf(actout,"%s %s", get_html_text("144"), mydirent->d_name);
         fprintf(actout,"</td></tr>\n");
-        fclose(fs);
         continue;
       }
       for(i=7,j=0;j<MAX_FILE_NAME-1&&mydirent->d_name[i]!=0;++i,++j) {



Reply via email to