Commit c7925353 authored by Sergey Lyubka's avatar Sergey Lyubka

Added parens around expression to squash warning under QNX SDP 6.6.0

parent bd23ec43
......@@ -805,7 +805,7 @@ static void ns_write_to_socket(struct ns_connection *conn) {
iobuf_remove(io, n);
}
if (io->len == 0 && conn->flags & NSF_FINISHED_SENDING_DATA) {
if (io->len == 0 && (conn->flags & NSF_FINISHED_SENDING_DATA)) {
conn->flags |= NSF_CLOSE_IMMEDIATELY;
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment