mirror of
https://github.com/cesanta/mongoose.git
synced 2026-10-14 10:20:01 +00:00
Added parens around expression to squash warning under QNX SDP 6.6.0
This commit is contained in:
1 parent
bd23ec4323
commit
c7925353e7
1 file changed
+1
-1
+1
-1
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user