From: Frédéric Marchal Date: Mon, 1 Feb 2010 15:08:18 +0000 (+0000) Subject: Fix HTML output X-Git-Tag: v2_2_7~8 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ad500baa92e66e242228912238342f7f44e0def7;p=thirdparty%2Fsarg.git Fix HTML output --- diff --git a/log.c b/log.c index cfdeaf3..ffb4d96 100644 --- a/log.c +++ b/log.c @@ -1,10 +1,11 @@ /* - * AUTHOR: Pedro Lineu Orso pedro.orso@gmail.com - * 1998, 2010 * SARG Squid Analysis Report Generator http://sarg.sourceforge.net + * 1998, 2010 * * SARG donations: * please look at http://sarg.sourceforge.net/donations.php + * Support: + * http://sourceforge.net/projects/sarg/forums/forum/363374 * --------------------------------------------------------------------- * * This program is free software; you can redistribute it and/or modify diff --git a/topuser.c b/topuser.c index ecf9de7..db6a2f4 100644 --- a/topuser.c +++ b/topuser.c @@ -278,7 +278,7 @@ void topuser(void) fputs("\n",fp_top3); fputs("
\n",fp_top3); - fputs("\n",fp_top3); + fputs("\n",fp_top3); if(strstr(ReportType,"topsites") != 0 && !Privacy) fprintf(fp_top3,"\n",text[119]); if(strstr(ReportType,"sites_users") != 0 && !Privacy) fprintf(fp_top3,"\n",text[85]); @@ -561,7 +561,7 @@ void topuser(void) subs(name,sizeof(name),"_","."); } - sprintf(preg,"\n",hbc1,val1,hbc2,val2,hbc2,href1,name,href1end,hbc3,wwork1,hbc4,wwork2,hbc5,val3,hbc6,val4,hbc7,val5,hbc8,val6,hbc9,wwork3,hbc10,val7); + sprintf(preg,"\n",hbc1,val1,hbc2,val2,hbc2,href1,name,href1end,hbc3,wwork1,hbc4,wwork2,hbc5,val3,hbc6,val4,hbc7,val5,hbc8,val6,hbc9,wwork3,hbc10,val7); if(strstr(user,"TOTAL") != 0) {

  
%s
%s
%s%s%s%s%s%s%s%s%s%s%s%s%s
%s%s%s%s%s%s%s%s%s%s%s%s%s