summaryrefslogtreecommitdiffstats
path: root/modules/mappers/mod_rewrite.h
diff options
context:
space:
mode:
authorAndré Malo <nd@apache.org>2003-07-16 01:30:40 +0200
committerAndré Malo <nd@apache.org>2003-07-16 01:30:40 +0200
commit1af42640c53ecf49b551571718bd8a472619e12b (patch)
tree64de5589acc82afe473952b2d7a37f8557f3e183 /modules/mappers/mod_rewrite.h
parentoptimization: rewrite reduce_uri function: (diff)
downloadapache2-1af42640c53ecf49b551571718bd8a472619e12b.tar.xz
apache2-1af42640c53ecf49b551571718bd8a472619e12b.zip
optimization: no need to search linear for headers.
apr_table_get should be more efficient nearly always. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@100644 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'modules/mappers/mod_rewrite.h')
-rw-r--r--modules/mappers/mod_rewrite.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/mappers/mod_rewrite.h b/modules/mappers/mod_rewrite.h
index 2a46b6199b..8668fde262 100644
--- a/modules/mappers/mod_rewrite.h
+++ b/modules/mappers/mod_rewrite.h
@@ -458,7 +458,7 @@ static apr_status_t rewritemap_program_child(apr_pool_t *p,
/* env variable support */
static char *lookup_variable(request_rec *r, char *var);
-static char *lookup_header(request_rec *r, const char *name);
+static const char *lookup_header(request_rec *r, const char *name);
/* caching functions */
static cache *init_cache(apr_pool_t *p);