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 c3d298493988fbecb6b7adde8bf6eac145ac92e4
parent 76cb532de906d3494f27cb275256366929baa661
Author: Joris Vink <joris@coders.se>
Date:   Mon,  6 Feb 2017 11:39:50 +0100

fix parameters to kore_log().

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

diff --git a/src/websocket.c b/src/websocket.c @@ -321,7 +321,8 @@ websocket_recv_frame(struct netbuf *nb) break; case WEBSOCKET_OP_CONT: ret = KORE_RESULT_ERROR; - kore_log(LOG_ERR, "%p: we do not support op 0x%02x yet", c, op); + kore_log(LOG_ERR, + "%p: we do not support op 0x%02x yet", (void *)c, op); break; case WEBSOCKET_OP_TEXT: case WEBSOCKET_OP_BINARY: