From 1db6e020f137f77bb87a6d9f93dcdf5d26da5e72 Mon Sep 17 00:00:00 2001 From: Jeff Trawick Date: Sun, 21 Mar 2004 11:13:13 +0000 Subject: [PATCH] logresolve: Allow size of log line buffer to be overridden at build time (MAXLINE). PR: 27793 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@103060 13f79535-47bb-0310-9956-ffa450edef68 --- CHANGES | 3 +++ support/logresolve.c | 2 ++ 2 files changed, 5 insertions(+) diff --git a/CHANGES b/CHANGES index 1e947c0bfd..4f3eac71ae 100644 --- a/CHANGES +++ b/CHANGES @@ -2,6 +2,9 @@ Changes with Apache 2.1.0-dev [Remove entries to the current 2.0 section below, when backported] + *) logresolve: Allow size of log line buffer to be overridden at + build time (MAXLINE). PR 27793. [Jeff Trawick] + *) Fix crash when Apache was started with no Listen directives. [Michael Corcoran ] diff --git a/support/logresolve.c b/support/logresolve.c index 73d5a4cfdc..024371132c 100644 --- a/support/logresolve.c +++ b/support/logresolve.c @@ -90,7 +90,9 @@ static void stats(FILE *output); /* maximum line length */ +#ifndef MAXLINE #define MAXLINE 1024 +#endif /* maximum length of a domain name */ #ifndef MAXDNAME -- 2.50.1