- Fix a problem on progress indicator [1]

- Bump PORTREVISION
- Use new Sourceforge method on MASTER_SITES

PR:		ports/102665 [1]
Submitted by:	Alex Samorukov <samm@os2.kiev.ua> [1]
Reviewed by:	author [1]
This commit is contained in:
Renato Botelho 2006-08-30 21:29:15 +00:00
parent e87426e3e3
commit 00d4a24687
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=171679
2 changed files with 33 additions and 2 deletions

View file

@ -7,9 +7,9 @@
PORTNAME= sarg
PORTVERSION= 2.2.2
PORTREVISION= 1
CATEGORIES= www
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
MASTER_SITES= SF
MAINTAINER= garga@FreeBSD.org
COMMENT= Squid log analyzer and HTML report generator

View file

@ -0,0 +1,31 @@
--- log.c Tue Aug 29 14:09:32 2006
+++ log.c Wed Aug 30 01:34:18 2006
@@ -772,7 +772,7 @@
while( fgets(bufz,sizeof(bufz),fp_in) != NULL ) recs1++;
rewind(fp_in);
- printf("SARG: Records in file: %d, reading: %3.2f%%\r",recs1,(float) 0);
+ printf("SARG: Records in file: %lli, reading: %3.2f%%\r",recs1,(float) 0);
fflush( stdout ) ;
}
@@ -781,7 +781,7 @@
if( bool_ShowReadStatistics && ! --OutputNonZero) {
perc = recs2 * 100 ;
perc = perc / recs1 ;
- printf("SARG: Records in file: %d, reading: %3.2f%%\r",recs1,perc);
+ printf("SARG: Records in file: %lli, reading: %3.2f%%\r",recs1,perc);
fflush (stdout);
OutputNonZero = REPORT_EVERY_X_LINES ;
}
@@ -1267,7 +1267,7 @@
}
}
if( bool_ShowReadStatistics )
- printf("SARG: Records in file: %d, reading: %3.2f%%\n",recs1, (float) 100 );
+ printf("SARG: Records in file: %lli, reading: %3.2f%%\n",recs1, (float) 100 );
}
if ( fp_Download_Unsort )