From ad500baa92e66e242228912238342f7f44e0def7 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Fr=C3=A9d=C3=A9ric=20Marchal?= Date: Mon, 1 Feb 2010 15:08:18 +0000 Subject: [PATCH] Fix HTML output --- log.c | 5 +++-- topuser.c | 4 ++-- 2 files changed, 5 insertions(+), 4 deletions(-) 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) { -- 2.47.3

  
%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