From: Frédéric Marchal Date: Thu, 25 Jun 2009 12:26:12 +0000 (+0000) Subject: Write HTML trailer before closing the file. X-Git-Tag: v2_2_6~85 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=121c2a893e9886edfac3d1a44e5d1c6066747cb2;p=thirdparty%2Fsarg.git Write HTML trailer before closing the file. --- diff --git a/index.c b/index.c index 7a4adf8..ebeb239 100644 --- a/index.c +++ b/index.c @@ -315,8 +315,8 @@ void make_index() fprintf(fp_ou3,"%s %s %s\n",warea,tmp4,nmonth,warea); } if(fp_tmp3) fclose(fp_tmp3); - if(fp_ou3) fclose(fp_ou3); write_html_trailer(fp_ou3); + if(fp_ou3) fclose(fp_ou3); unlink(tmp6); } write_html_trailer(fp_ou2);