Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fix missing base_scfg declaration in modperl_init() if USE_ITHREADS &…

…& !MP_TRACE

git-svn-id: https://svn.apache.org/repos/asf/perl/modperl/branches/threading@1291304 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information...
commit d367cbd8bc4abcfef3526746980067019e595858 1 parent 2dcaba7
Torsten Förtsch authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/modules/perl/mod_perl.c
View
4 src/modules/perl/mod_perl.c
@@ -443,12 +443,12 @@ void modperl_init(server_rec *base_server, apr_pool_t *p)
{
server_rec *s;
PerlInterpreter *base_perl;
-#ifdef MP_TRACE
+#if defined(MP_TRACE) || defined(USE_ITHREADS)
modperl_config_srv_t *base_scfg = modperl_config_srv_get(base_server);
+#endif
MP_TRACE_d_do(MpSrv_dump_flags(base_scfg,
base_server->server_hostname));
-#endif /* MP_TRACE */
#ifndef USE_ITHREADS
if (modperl_threaded_mpm()) {
Please sign in to comment.
Something went wrong with that request. Please try again.