| Subject: | [svn:mod_parrot] r362 - mod_parrot/trunk/src |
|---|---|
| From: | jhorwitz@xxxxxxxxxxxx |
| Date: | Sat, 19 Jul 2008 12:20:18 -0700 (PDT) |
| Newsgroups: | perl.cvs.mod_parrot |
Author: jhorwitz
Date: Sat Jul 19 12:20:17 2008
New Revision: 362
Modified:
mod_parrot/trunk/src/mod_parrot.c
Log:
return current context from modparrot_startup if we've already started
Modified: mod_parrot/trunk/src/mod_parrot.c
==============================================================================
--- mod_parrot/trunk/src/mod_parrot.c (original)
+++ mod_parrot/trunk/src/mod_parrot.c Sat Jul 19 12:20:17 2008
@@ -172,7 +172,10 @@
}
}
- if (!(ctxp = init_ctx(s))) {
+ if ((ctxp = init_ctx(s))) {
+ mp_is_started = 1;
+ }
+ else {
MPLOG_ERROR(s, "context initialization failed");
return NULL;
}
@@ -182,7 +185,6 @@
*/
ctxp->pconf = p;
- mp_is_started = 1;
return(ctxp);
}
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | [svn:mod_parrot] r361 - mod_parrot/trunk/src, jhorwitz |
|---|---|
| Next by Date: | [svn:mod_parrot] r363 - in mod_parrot/trunk: include src, jhorwitz |
| Previous by Thread: | [svn:mod_parrot] r361 - mod_parrot/trunk/src, jhorwitz |
| Next by Thread: | [svn:mod_parrot] r363 - in mod_parrot/trunk: include src, jhorwitz |
| Indexes: | [Date] [Thread] [Top] [All Lists] |