From efe851a18684f858b1a5aa4dd964a553cc38c45e Mon Sep 17 00:00:00 2001 From: Martin Kraemer Date: Mon, 7 Apr 2008 06:28:50 +0000 Subject: [PATCH] Make it compile on pre-C99 compilers (Move decls to beginning of func) git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@645395 13f79535-47bb-0310-9956-ffa450edef68 --- server/request.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/request.c b/server/request.c index bec1343733..ec844f7af0 100644 --- a/server/request.c +++ b/server/request.c @@ -653,8 +653,6 @@ AP_DECLARE(int) ap_directory_walk(request_rec *r) char *buf; unsigned int seg, startseg; - cached &= auth_internal_per_conf; - /* Invariant: from the first time filename_len is set until * it goes out of scope, filename_len==strlen(r->filename) */ @@ -663,6 +661,8 @@ AP_DECLARE(int) ap_directory_walk(request_rec *r) apr_size_t canonical_len; #endif + cached &= auth_internal_per_conf; + /* * We must play our own mini-merge game here, for the few * running dir_config values we care about within dir_walk. -- 2.40.0