diff options
Diffstat (limited to '')
-rw-r--r-- | src/nxt_router.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/nxt_router.c b/src/nxt_router.c index 40cf0131..0cee933f 100644 --- a/src/nxt_router.c +++ b/src/nxt_router.c @@ -382,12 +382,13 @@ nxt_router_conf_data_handler(nxt_task_t *task, nxt_port_recv_msg_t *msg) b->mem.pos = b->mem.free; if (ret == NXT_OK) { - return nxt_router_conf_success(task, tmcf); + nxt_router_conf_success(task, tmcf); + return; } nxt_log(task, NXT_LOG_CRIT, "failed to apply new conf"); - return nxt_router_conf_error(task, tmcf); + nxt_router_conf_error(task, tmcf); } |