perl-modperl-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pgollu...@apache.org
Subject svn commit: r419824 - /perl/modperl/trunk/src/modules/perl/modperl_config.c
Date Fri, 07 Jul 2006 06:33:58 GMT
Author: pgollucci
Date: Thu Jul  6 23:33:57 2006
New Revision: 419824

URL: http://svn.apache.org/viewvc?rev=419824&view=rev
Log:
move MP_dSCFG(s) into the if() for consistency

Modified:
    perl/modperl/trunk/src/modules/perl/modperl_config.c

Modified: perl/modperl/trunk/src/modules/perl/modperl_config.c
URL: http://svn.apache.org/viewvc/perl/modperl/trunk/src/modules/perl/modperl_config.c?rev=419824&r1=419823&r2=419824&view=diff
==============================================================================
--- perl/modperl/trunk/src/modules/perl/modperl_config.c (original)
+++ perl/modperl/trunk/src/modules/perl/modperl_config.c Thu Jul  6 23:33:57 2006
@@ -638,7 +638,6 @@
                                           server_rec *s, const char *name)
 {
     U32 flag;
-    MP_dSCFG(s);
 
     /* XXX: should we test whether perl is disabled for this server? */
     /*  if (!MpSrvENABLE(scfg)) { */
@@ -656,6 +655,7 @@
     }
     else {
         if ((flag = modperl_flags_lookup_srv(name)) != -1) {
+            MP_dSCFG(s);
             return MpSrvFLAGS(scfg) & flag ? 1 : 0;
         }
         else {



Mime
View raw message