diff options
author | Max Romanov <max.romanov@nginx.com> | 2017-07-25 16:18:31 +0300 |
---|---|---|
committer | Max Romanov <max.romanov@nginx.com> | 2017-07-25 16:18:31 +0300 |
commit | 316c77a9de638c54e2574c205276917ff442d06e (patch) | |
tree | 7adb1b8cd00a8f54298840531e83f8242907aa60 /src/nxt_router.c | |
parent | 578cd547c0f121267f8f66a0523fab67c433a90b (diff) | |
download | unit-316c77a9de638c54e2574c205276917ff442d06e.tar.gz unit-316c77a9de638c54e2574c205276917ff442d06e.tar.bz2 |
Fixed building on Solaris by Sun C.
Diffstat (limited to 'src/nxt_router.c')
-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); } |