Skip to content

Commit 4b1e964

Browse files
committed
🐛 Fix compilation error for issue #235
1 parent d6dc0f7 commit 4b1e964

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/c/ngx_http_clojure_mem.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1914,8 +1914,8 @@ TOP_WHILE :
19141914

19151915
if ( !(wsctx->opcode & 0x8) ) { /*is not control frame*/
19161916
wsctx->fin = (buf->pos[0] >> 7) & 1;
1917-
}else {
1918-
if (!(buf->pos[0] >> 7) & 1) { /*control frame must be FIN*/
1917+
} else {
1918+
if ((!(buf->pos[0] >> 7)) & 1) { /*control frame must be FIN*/
19191919
goto_close(WS_CLOSE_PROTOCOL_ERROR);
19201920
}
19211921

0 commit comments

Comments
 (0)