This commit is contained in:
Maxim Dounin 2015-06-05 17:10:34 +03:00
parent 99b2c89404
commit e041efc306

View File

@ -927,8 +927,9 @@ ngx_events_block(ngx_conf_t *cf, ngx_command_t *cmd, void *conf)
*cf = pcf;
if (rv != NGX_CONF_OK)
if (rv != NGX_CONF_OK) {
return rv;
}
for (i = 0; ngx_modules[i]; i++) {
if (ngx_modules[i]->type != NGX_EVENT_MODULE) {