[svn:mod_parrot] r473 - mod_parrot/trunk/src

[email protected] Fri, 24 Oct 2008 07:17:08 -0700 (PDT)
Newsgroups perl.cvs.mod_parrot
Message-ID <[email protected]>
Author: jhorwitz
Date: Fri Oct 24 07:17:07 2008
New Revision: 473

Modified:
   mod_parrot/trunk/src/module.c

Log:
increment module_index when registering hooks.  this prevents us from
inheriting the hook registrations of the previous module.


Modified: mod_parrot/trunk/src/module.c
==============================================================================
--- mod_parrot/trunk/src/module.c	(original)
+++ mod_parrot/trunk/src/module.c	Fri Oct 24 07:17:07 2008
@@ -306,6 +306,9 @@
             }
         }
     }
+
+    /* prepare for the next module */
+    module_index++;
 }
 
 /* this is very leaky */