gozer 2004/10/05 12:11:02
Modified: xs/Apache/RequestUtil Apache__RequestUtil.h Log: Fix statement before declaration compilation problem. Spotted by: Joe Orton Revision Changes Path 1.27 +3 -3 modperl-2.0/xs/Apache/RequestUtil/Apache__RequestUtil.h Index: Apache__RequestUtil.h =================================================================== RCS file: /home/cvs/modperl-2.0/xs/Apache/RequestUtil/Apache__RequestUtil.h,v retrieving revision 1.26 retrieving revision 1.27 diff -u -r1.26 -r1.27 --- Apache__RequestUtil.h 4 Oct 2004 19:27:37 -0000 1.26 +++ Apache__RequestUtil.h 5 Oct 2004 19:11:02 -0000 1.27 @@ -306,10 +306,10 @@ const char *retval = ap_document_root(r); if (new_root) { + core_server_config *conf; MP_CROAK_IF_THREADS_STARTED("setting $r->document_root"); - core_server_config *conf = - ap_get_module_config(r->server->module_config, - &core_module); + conf = ap_get_module_config(r->server->module_config, + &core_module); conf->ap_document_root = SvPV_nolen(new_root); }