kore

An easy to use, scalable and secure web application framework for writing web APIs in C.
Commits | Files | Refs | README | LICENSE | git clone https://git.kore.io/kore.git

commit bb9dbbec120e8b0c11b523b6c25d5ecde27a01f2
parent 6e7de9ab93fc5d61bbda260aa8325aabe9900094
Author: Joris Vink <joris@coders.se>
Date:   Mon, 30 Jan 2017 22:47:41 +0100

typo.

Diffstat:
src/websocket.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/websocket.c b/src/websocket.c @@ -224,7 +224,7 @@ websocket_recv_opcode(struct netbuf *nb) } if (WEBSOCKET_RSV(nb->buf[0], 1) || WEBSOCKET_RSV(nb->buf[0], 2) || - WEBSOCKET_RSV(nb->buf[0], 2)) { + WEBSOCKET_RSV(nb->buf[0], 3)) { kore_debug("%p: RSV bits are not zero", c); return (KORE_RESULT_ERROR); }