Author: ianjoyce
Date: Sun Aug 21 00:11:52 2005
New Revision: 210
Modified:
mod_parrot/trunk/context.c
Log:
fixed support for worker MPM (from [email protected])
Modified: mod_parrot/trunk/context.c
==============================================================================
--- mod_parrot/trunk/context.c (original)
+++ mod_parrot/trunk/context.c Sun Aug 21 00:11:52 2005
@@ -64,7 +64,7 @@ modparrot_context *reserve_ctx(void)
if (!mp_ctx_pool) return NULL;
#ifdef MPM_IS_THREADED
for (i = 0; i < mp_ctx_pool->nelts; i++) {
- modparrot_context *ctx = ((modparrot_context **)mp_ctx_pool->elts)[i];
+ ctx = ((modparrot_context **)mp_ctx_pool->elts)[i];
if (MODPARROT_CTX_ISLOCKED(ctx)) continue;
MODPARROT_CTX_LOCK(ctx);
return(ctx);
lmpx.com only provides a reader for public news (NNTP) servers. It is not
affiliated with the servers or forums shown here and is not responsible for
the content of articles, which is written by their respective authors.