From 6ffb5d9759d7ad5c95aa0cd48e80ebd999fcb6bc Mon Sep 17 00:00:00 2001 From: hno <> Date: Wed, 23 May 2001 02:31:34 +0000 Subject: [PATCH] Bugzilla #160: > My problem is that the referer_log file is still at 0 bytes. This cannot be > right. I have created a site with a clickthrough possibility, and it isn't > logging the http_referer. > > Has anybody had simular experiences? Or can point me in the right direction? > I look into that. The variable holding the logfile struct just had no value assigned. Here is a patch: --- src/referer.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/referer.cc b/src/referer.cc index 9b7fc9406c..023797aa01 100644 --- a/src/referer.cc +++ b/src/referer.cc @@ -1,6 +1,6 @@ /* - * $Id: referer.cc,v 1.3 2001/01/12 00:37:20 wessels Exp $ + * $Id: referer.cc,v 1.4 2001/05/22 20:31:34 hno Exp $ * * DEBUG: section 40 User-Agent and Referer logging * AUTHOR: Joe Ramey (useragent) @@ -49,7 +49,7 @@ refererOpenLog(void) debug(40, 1) ("Referer logging is disabled.\n"); return; } - logfileOpen(Config.Log.referer, 0, 1); + refererlog = logfileOpen(Config.Log.referer, 0, 1); #endif } -- 2.47.2