summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_port.c
diff options
context:
space:
mode:
authorMax Romanov <max.romanov@nginx.com>2018-02-20 19:00:30 +0300
committerMax Romanov <max.romanov@nginx.com>2018-02-20 19:00:30 +0300
commitbabf67712e4226527730e2fb8c96babdf5486ca5 (patch)
tree732d50d6a28ffb5c8263bdedc66c8c9a7d42ba6d /src/nxt_port.c
parentee39da0e00423d2e4f109f90142c3543e819c14d (diff)
downloadunit-babf67712e4226527730e2fb8c96babdf5486ca5.tar.gz
unit-babf67712e4226527730e2fb8c96babdf5486ca5.tar.bz2
Removed unwanted assertions.
Diffstat (limited to '')
-rw-r--r--src/nxt_port.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nxt_port.c b/src/nxt_port.c
index 1fcb0244..12de8afb 100644
--- a/src/nxt_port.c
+++ b/src/nxt_port.c
@@ -313,7 +313,7 @@ nxt_port_process_ready_handler(nxt_task_t *task, nxt_port_recv_msg_t *msg)
process->ready = 1;
- nxt_assert(nxt_queue_is_empty(&process->ports) == 0);
+ nxt_assert(!nxt_queue_is_empty(&process->ports));
port = nxt_process_port_first(process);