- Fix Segmentation Fault problem

- Bump PORTREVISION

Obtained from:	Orso maillist
This commit is contained in:
Renato Botelho 2007-02-26 11:32:00 +00:00
parent 88c8b624ed
commit 618b21cabd
2 changed files with 12 additions and 0 deletions

View file

@ -7,6 +7,7 @@
PORTNAME= sarg
PORTVERSION= 2.2.3.1
PORTREVISION= 1
CATEGORIES= www
MASTER_SITES= SF

View file

@ -0,0 +1,11 @@
--- log.c 2007-01-02 17:11:26.000000000 -0200
+++ new/log.c 2007-01-29 17:19:17.000000000 -0200
@@ -1216,7 +1216,7 @@
if(download_flag && strstr(code,"DENIED") == 0) {
ndownload = 1;
- sprintf(bufz, "%s %s %s %s %s %s\n",dia,hora,user,ip,download_url);
+ sprintf(bufz, "%s %s %s %s %s\n",dia,hora,user,ip,download_url);
#ifdef LEGACY_WRITE_DOWNLOAD
sprintf(tmp3,"%s/sarg/download.unsort",tmp);