From cc13f7313c63a5529fdc945663297eb5abacb07b Mon Sep 17 00:00:00 2001 From: b1v1r Date: Sat, 16 May 2009 04:17:10 +0000 Subject: [PATCH] Do not include the initial slash from the audit log entry (thus avoiding a double slash) when building the full file name in mlogc. --- apache2/mlogc-src/mlogc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apache2/mlogc-src/mlogc.c b/apache2/mlogc-src/mlogc.c index 8bb8fbb8..d4c2dd16 100644 --- a/apache2/mlogc-src/mlogc.c +++ b/apache2/mlogc-src/mlogc.c @@ -102,7 +102,7 @@ const char logline_pattern[] = "\\ (\\d+)\\ (\\S+)" "\\ \"(.*)\"\\ \"(.*)\"" "\\ (\\S+)\\ \"(.*)\"" - "\\ (\\S+)\\ (\\d+)\\ (\\d+)" + "\\ /?(\\S+)\\ (\\d+)\\ (\\d+)" "\\ (\\S+)" "(.*)$";