summaryrefslogtreecommitdiff
path: root/www/sarg/patches/patch-af
blob: d77d8c09ee123b2905875931767a8ea8a340a3d3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-af,v 1.1.1.1 2003/12/04 16:06:32 xtraeme Exp $

--- splitlog.c.orig	2003-04-25 20:20:55.000000000 +0300
+++ splitlog.c
@@ -19,7 +19,7 @@ void splitlog(char *arq, char *df, int d
    struct tm *t;
 
    if(arq[0] == '\0')
-      strcpy(arq,"/usr/local/squid/logs/access.log");
+      strcpy(arq,SQUID_ACCESSLOG);
 
    if((fp_in=fopen(arq,"r"))==NULL) {
       fprintf(stderr, "SARG: (splitlog) %s: %s\n",text[8],arq);