Added parens around expression to squash warning under QNX SDP 6.6.0

This commit is contained in:
Sergey Lyubka 2014-06-03 14:25:54 +01:00
parent bd23ec4323
commit c7925353e7

View File

@ -805,7 +805,7 @@ static void ns_write_to_socket(struct ns_connection *conn) {
iobuf_remove(io, n); 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; conn->flags |= NSF_CLOSE_IMMEDIATELY;
} }
} }