mirror of
https://github.com/cesanta/mongoose.git
synced 2025-08-01 02:16:14 +08:00
Added parens around expression to squash warning under QNX SDP 6.6.0
This commit is contained in:
parent
bd23ec4323
commit
c7925353e7
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user