]> git.ipfire.org Git - thirdparty/sarg.git/commitdiff
Fix empty user reports
authorFrédéric Marchal <fmarchal@users.sourceforge.net>
Mon, 27 Dec 2010 12:30:11 +0000 (12:30 +0000)
committerFrédéric Marchal <fmarchal@users.sourceforge.net>
Mon, 27 Dec 2010 12:30:11 +0000 (12:30 +0000)
If the user_report_limit was set, the limit was global to all the
reports due to an inadvertendly deleted line in the source code.

html.c

diff --git a/html.c b/html.c
index 5918c4b594f10bc38214b79bcf5b5f496aa0176b..5c4ba853f053eeaab2b34c8e35b8d37a09e7b983 100644 (file)
--- a/html.c
+++ b/html.c
@@ -252,6 +252,7 @@ void htmlrel(void)
                if(debug) {
                        debuga(_("Making report: %s\n"),uinfo->id);
                }
+               count=0;
 
                while((buf=longline_read(fp_in,line))!=NULL) {
                        getword_start(&gwarea,buf);