perl-modperl-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tors...@apache.org
Subject svn commit: r1291304 - /perl/modperl/branches/threading/src/modules/perl/mod_perl.c
Date Mon, 20 Feb 2012 15:10:33 GMT
Author: torsten
Date: Mon Feb 20 15:10:33 2012
New Revision: 1291304

URL: http://svn.apache.org/viewvc?rev=1291304&view=rev
Log:
fix missing base_scfg declaration in modperl_init() if USE_ITHREADS && !MP_TRACE

Modified:
    perl/modperl/branches/threading/src/modules/perl/mod_perl.c

Modified: perl/modperl/branches/threading/src/modules/perl/mod_perl.c
URL: http://svn.apache.org/viewvc/perl/modperl/branches/threading/src/modules/perl/mod_perl.c?rev=1291304&r1=1291303&r2=1291304&view=diff
==============================================================================
--- perl/modperl/branches/threading/src/modules/perl/mod_perl.c (original)
+++ perl/modperl/branches/threading/src/modules/perl/mod_perl.c Mon Feb 20 15:10:33 2012
@@ -443,12 +443,12 @@ void modperl_init(server_rec *base_serve
 {
     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()) {



Mime
View raw message