]> git.ipfire.org Git - thirdparty/sarg.git/blobdiff - repday.c
Don't check a write error in the trailer
[thirdparty/sarg.git] / repday.c
index 65a43c985cf8a4ba91985e89e5230a141c1fcf09..cb8088028ee4df9425a89fcce38431d17fc413f4 100644 (file)
--- a/repday.c
+++ b/repday.c
@@ -243,8 +243,7 @@ void report_day(const struct userinfostruct *uinfo)
 #endif
        }
 
-       if (write_html_trailer(fp_ou)<0)
-               debuga(_("Write error in file %s\n"),arqout);
+       write_html_trailer(fp_ou);
        if (fclose(fp_ou)==EOF) {
                debuga(_("Write error in \"%s\": %s\n"),arqout,strerror(errno));
                exit(EXIT_FAILURE);