diff options
author | Igor Sysoev <igor@sysoev.ru> | 2017-09-06 02:30:55 +0300 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2017-09-06 02:30:55 +0300 |
commit | 58907888e510f6907513da2ea4506ee78b9bf77c (patch) | |
tree | 1d16cf9fb4ad4d21c23b3c825c48408b75a13ef4 /src/nxt_port_hash.c | |
parent | 22ae3d4ff55ae778688a89c585b5da8eddce6cc0 (diff) | |
download | unit-58907888e510f6907513da2ea4506ee78b9bf77c.tar.gz unit-58907888e510f6907513da2ea4506ee78b9bf77c.tar.bz2 |
Style fixes.
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; } |