summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_port_rpc.c
diff options
context:
space:
mode:
authorValentin Bartenev <vbart@nginx.com>2018-04-05 15:49:41 +0300
committerValentin Bartenev <vbart@nginx.com>2018-04-05 15:49:41 +0300
commitd15b4ca90639d0e6a5caab9ec905e49228072faf (patch)
treeb929a2fed7cc997a5e18e42e74858c09d8258306 /src/nxt_port_rpc.c
parent49bd3a21e0f995c895b445c0566227661418c2bc (diff)
downloadunit-d15b4ca90639d0e6a5caab9ec905e49228072faf.tar.gz
unit-d15b4ca90639d0e6a5caab9ec905e49228072faf.tar.bz2
Style.
Diffstat (limited to 'src/nxt_port_rpc.c')
-rw-r--r--src/nxt_port_rpc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/nxt_port_rpc.c b/src/nxt_port_rpc.c
index 136e7f2b..401707f0 100644
--- a/src/nxt_port_rpc.c
+++ b/src/nxt_port_rpc.c
@@ -250,6 +250,7 @@ nxt_port_rpc_remove_from_peers(nxt_task_t *task, nxt_port_t *port,
"registration (%p)", stream, reg->peer, reg->link.next);
ret = nxt_lvlhsh_delete(&port->rpc_peers, &lhq);
+
} else {
nxt_debug(task, "rpc: stream #%uD remove first pid %PI "
"registration (%p)", stream, reg->peer, reg->link.next);
@@ -264,6 +265,7 @@ nxt_port_rpc_remove_from_peers(nxt_task_t *task, nxt_port_t *port,
ret = nxt_lvlhsh_insert(&port->rpc_peers, &lhq);
}
+
} else {
nxt_debug(task, "rpc: stream #%uD remove pid %PI "
"registration (%p)", stream, reg->peer, reg->link.next);