From 44518b82f61a67f3caec3f1baf36962f9ff14f7b Mon Sep 17 00:00:00 2001 From: Takashi Sato Date: Tue, 26 May 2009 15:57:51 +0000 Subject: [PATCH] Remove the conditional for APR >= 1.3. httpd 2.3 has needed APR 1.3 or later since r582069. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@778778 13f79535-47bb-0310-9956-ffa450edef68 --- support/logresolve.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/support/logresolve.c b/support/logresolve.c index 4ce48c8973..0e6f3ac4a6 100644 --- a/support/logresolve.c +++ b/support/logresolve.c @@ -138,10 +138,8 @@ int main(int argc, const char * const argv[]) apr_status_t status; const char * arg; char * stats = NULL; -#if APR_MAJOR_VERSION > 1 || (APR_MAJOR_VERSION == 1 && APR_MINOR_VERSION >= 3) char * inbuffer; char * outbuffer; -#endif char line[LINE_BUF_SIZE]; int doublelookups = 0; @@ -190,7 +188,6 @@ int main(int argc, const char * const argv[]) apr_file_open_stdout(&outfile, pool); apr_file_open_stdin(&infile, pool); -#if APR_MAJOR_VERSION > 1 || (APR_MAJOR_VERSION == 1 && APR_MINOR_VERSION >= 3) /* Allocate two new 10k file buffers */ if ((outbuffer = apr_palloc(pool, WRITE_BUF_SIZE)) == NULL || (inbuffer = apr_palloc(pool, READ_BUF_SIZE)) == NULL) { @@ -200,7 +197,6 @@ int main(int argc, const char * const argv[]) /* Set the buffers */ apr_file_buffer_set(infile, inbuffer, READ_BUF_SIZE); apr_file_buffer_set(outfile, outbuffer, WRITE_BUF_SIZE); -#endif cache = apr_hash_make(pool); if(apr_pool_create(&pline, pool) != APR_SUCCESS){ -- 2.40.0