diff src/event/ngx_event.c @ 227:2ba3477070ac

nginx-0.0.1-2004-01-14-21:19:42 import
author Igor Sysoev <igor@sysoev.ru>
date Wed, 14 Jan 2004 18:19:42 +0000
parents 05592fd7a436
children 1119faf4635a
line wrap: on
line diff
--- a/src/event/ngx_event.c
+++ b/src/event/ngx_event.c
@@ -374,7 +374,7 @@ static char *ngx_event_use(ngx_conf_t *c
 
     value = cf->args->elts;
 
-    if (cf->cycle->old_cycle) {
+    if (cf->cycle->old_cycle->conf_ctx) {
         old_ecf = ngx_event_get_conf(cf->cycle->old_cycle->conf_ctx,
                                      ngx_event_core_module);
     } else {