From a60a15dccad3bbcc04414c5961dd5148c7d84914 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Fr=C3=A9d=C3=A9ric=20Marchal?= Date: Sat, 20 Nov 2010 22:06:41 +0000 Subject: [PATCH] Last line of siteuser page is not the same as the previous ones The last line of the siteuser.html report page doesn't contain a link to block the site and doesn't show the bytes column. This patch makes it identical to the other lines in the report. --- siteuser.c | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/siteuser.c b/siteuser.c index f7d0dbf..36e53f1 100644 --- a/siteuser.c +++ b/siteuser.c @@ -186,11 +186,21 @@ void siteuser(void) longline_destroy(&line); if(nsitesusers) { - fprintf(fp_ou,"%d%d",regs); + if(BlockIt[0]!='\0') { + fprintf(fp_ou," ",fp_ou); + } + fputs("",fp_ou); output_html_string(fp_ou,ourl,100); - fprintf(fp_ou,"%s\n",users); + fputs("",fp_ou); + if (BytesInSitesUsersReport) { + fprintf(fp_ou,"%s",fixnum(obytes,1)); + } + fprintf(fp_ou,"%s\n",users); } if (ourl) free(ourl); -- 2.47.2