From: Martin Kraemer Date: Mon, 7 Apr 2008 06:28:50 +0000 (+0000) Subject: Make it compile on pre-C99 compilers (Move decls to beginning of func) X-Git-Tag: 2.3.0~794 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=efe851a18684f858b1a5aa4dd964a553cc38c45e;p=thirdparty%2Fapache%2Fhttpd.git 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 --- diff --git a/server/request.c b/server/request.c index bec13437334..ec844f7af04 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.