--------------------- PatchSet 9376 Date: 2007/05/18 19:15:28 Author: serassio Branch: s26_logfile_daemon Tag: (none) Log: Fix build error when using referer, useragent and netdb Members: src/net_db.c:1.22.10.1->1.22.10.2 src/referer.c:1.5->1.5.34.1 src/useragent.c:1.7->1.7.128.1 Index: squid/src/net_db.c =================================================================== RCS file: /cvsroot/squid-sf//squid/src/net_db.c,v retrieving revision 1.22.10.1 retrieving revision 1.22.10.2 diff -u -r1.22.10.1 -r1.22.10.2 --- squid/src/net_db.c 11 Mar 2007 22:02:45 -0000 1.22.10.1 +++ squid/src/net_db.c 18 May 2007 19:15:28 -0000 1.22.10.2 @@ -1,6 +1,6 @@ /* - * $Id: net_db.c,v 1.22.10.1 2007/03/11 22:02:45 hno Exp $ + * $Id: net_db.c,v 1.22.10.2 2007/05/18 19:15:28 serassio Exp $ * * DEBUG: section 38 Network Measurement Database * AUTHOR: Duane Wessels @@ -387,7 +387,7 @@ * logfileOpen() use O_TRUNC. */ unlink(path); - lf = logfileOpen(path, 4096, 0); + lf = logfileOpen(path, Config.Log.logtype, 4096, 0); if (NULL == lf) { debug(50, 1) ("netdbSaveState: %s: %s\n", path, xstrerror()); return; Index: squid/src/referer.c =================================================================== RCS file: /cvsroot/squid-sf//squid/src/referer.c,v retrieving revision 1.5 retrieving revision 1.5.34.1 diff -u -r1.5 -r1.5.34.1 --- squid/src/referer.c 13 Oct 2002 21:46:16 -0000 1.5 +++ squid/src/referer.c 18 May 2007 19:15:28 -0000 1.5.34.1 @@ -49,7 +49,7 @@ debug(40, 1) ("Referer logging is disabled.\n"); return; } - refererlog = logfileOpen(Config.Log.referer, 0, 1); + refererlog = logfileOpen(Config.Log.referer, Config.Log.logtype, 0, 1); #endif } Index: squid/src/useragent.c =================================================================== RCS file: /cvsroot/squid-sf//squid/src/useragent.c,v retrieving revision 1.7 retrieving revision 1.7.128.1 diff -u -r1.7 -r1.7.128.1 --- squid/src/useragent.c 17 Jul 2001 06:57:31 -0000 1.7 +++ squid/src/useragent.c 18 May 2007 19:15:28 -0000 1.7.128.1 @@ -1,6 +1,6 @@ /* - * $Id: useragent.c,v 1.7 2001/07/17 06:57:31 squidadm Exp $ + * $Id: useragent.c,v 1.7.128.1 2007/05/18 19:15:28 serassio Exp $ * * DEBUG: section 40 User-Agent logging * AUTHOR: Joe Ramey @@ -48,7 +48,7 @@ debug(40, 1) ("User-Agent logging is disabled.\n"); return; } - useragentlog = logfileOpen(Config.Log.useragent, 0, 1); + useragentlog = logfileOpen(Config.Log.useragent, Config.Log.logtype, 0, 1); #endif }