summaryrefslogtreecommitdiffhomepage
path: root/src/event/modules/ngx_eventport_module.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/event/modules/ngx_eventport_module.c')
-rw-r--r--src/event/modules/ngx_eventport_module.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/event/modules/ngx_eventport_module.c b/src/event/modules/ngx_eventport_module.c
index 4becf75d0..842d631af 100644
--- a/src/event/modules/ngx_eventport_module.c
+++ b/src/event/modules/ngx_eventport_module.c
@@ -581,7 +581,7 @@ ngx_eventport_create_conf(ngx_cycle_t *cycle)
epcf = ngx_palloc(cycle->pool, sizeof(ngx_eventport_conf_t));
if (epcf == NULL) {
- return NGX_CONF_ERROR;
+ return NULL;
}
epcf->events = NGX_CONF_UNSET;