From 316c77a9de638c54e2574c205276917ff442d06e Mon Sep 17 00:00:00 2001 From: Max Romanov Date: Tue, 25 Jul 2017 16:18:31 +0300 Subject: Fixed building on Solaris by Sun C. --- src/nxt_router.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/nxt_router.c') 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); } -- cgit