diff options
author | Takashi Sato <takashi@apache.org> | 2009-05-26 17:57:51 +0200 |
---|---|---|
committer | Takashi Sato <takashi@apache.org> | 2009-05-26 17:57:51 +0200 |
commit | 44518b82f61a67f3caec3f1baf36962f9ff14f7b (patch) | |
tree | 7dcf2c7ee50bea3819ceed86cc43329620515efb /support/logresolve.c | |
parent | Make pline a child of main pool. (diff) | |
download | apache2-44518b82f61a67f3caec3f1baf36962f9ff14f7b.tar.xz apache2-44518b82f61a67f3caec3f1baf36962f9ff14f7b.zip |
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
Diffstat (limited to 'support/logresolve.c')
-rw-r--r-- | support/logresolve.c | 4 |
1 files changed, 0 insertions, 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){ |