sarg/sarg-2.2.2-topsites.patch

37 lines
1.5 KiB
Diff
Raw Permalink Normal View History

diff -pur sarg-2.2.2/log.c sarg-2.2.2-qilnx/log.c
--- sarg-2.2.2/log.c 2006-08-29 13:09:32.000000000 +0200
+++ sarg-2.2.2-qilnx/log.c 2006-10-05 17:21:30.000000000 +0200
@@ -182,7 +182,7 @@ int main(argc,argv)
strcpy(LongUrl,"no");
strcpy(language,"English");
strcpy(FontFace,"Verdana,Tahoma,Arial");
- strcpy(datetimeby,"bytes");
+ strcpy(datetimeby,"elap");
strcpy(CharSet,"ISO-8859-1");
strcpy(Privacy,"no");
strcpy(PrivacyString,"***.***.***.***");
diff -pur sarg-2.2.2/sarg.conf sarg-2.2.2-qilnx/sarg.conf
--- sarg-2.2.2/sarg.conf 2006-08-29 13:09:32.000000000 +0200
+++ sarg-2.2.2-qilnx/sarg.conf 2006-10-05 17:22:02.000000000 +0200
@@ -325,7 +325,7 @@
# TAG: date_time_by bytes|elap
# Date/Time reports will use bytes or elapsed time?
#
-#date_time_by bytes
+#date_time_by elap
# TAG: charset name
# ISO 8859 is a full series of 10 standardized multilingual single-byte coded (8bit)
diff -pur sarg-2.2.2/topsites.c sarg-2.2.2-qilnx/topsites.c
--- sarg-2.2.2/topsites.c 2006-08-29 13:09:32.000000000 +0200
+++ sarg-2.2.2-qilnx/topsites.c 2006-10-05 17:20:45.000000000 +0200
@@ -213,7 +213,7 @@ void topsites()
sprintf(wwork1,"%s",fixnum(twork1,1));
sprintf(wwork2,"%s",fixnum(twork2,1));
- sprintf(wwork3,"%s",fixnum(twork3,1));
+ sprintf(wwork3,"%s",fixtime(twork3,1));
if(strlen(BlockIt) > 0)
sprintf(BlockImage,"<a href=\"%s%s?url=%s\"><img src=\"../images/sarg-squidguard-block.png\" border=\"0\"></a>&nbsp;",wwwDocumentRoot,BlockIt,url);