diff options
Diffstat (limited to 'src/nxt_port_hash.c')
-rw-r--r-- | src/nxt_port_hash.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/nxt_port_hash.c b/src/nxt_port_hash.c index e9158f5d..93e46cd3 100644 --- a/src/nxt_port_hash.c +++ b/src/nxt_port_hash.c @@ -23,9 +23,10 @@ nxt_port_hash_test(nxt_lvlhsh_query_t *lhq, void *data) port = data; pid_port_id = (nxt_pid_port_id_t *) lhq->key.start; - if (lhq->key.length == sizeof(nxt_pid_port_id_t) && - pid_port_id->pid == port->pid && - pid_port_id->port_id == port->id) { + if (lhq->key.length == sizeof(nxt_pid_port_id_t) + && pid_port_id->pid == port->pid + && pid_port_id->port_id == port->id) + { return NXT_OK; } |