Browse Source

fix compiler warning

Change-Id: I19ee1b097a4d0d85ba69fd01975e26f69c6c55fd
pull/1116/head
Richard Fuchs 5 years ago
parent
commit
f0212124fe
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      daemon/websocket.c

+ 1
- 1
daemon/websocket.c View File

@ -155,7 +155,7 @@ void websocket_write_next(struct websocket_conn *wc) {
static const char *websocket_echo_process(struct websocket_message *wm) { static const char *websocket_echo_process(struct websocket_message *wm) {
ilog(LOG_DEBUG, "Returning %lu bytes websocket echo from %s", wm->body->len,
ilog(LOG_DEBUG, "Returning %lu bytes websocket echo from %s", (unsigned long) wm->body->len,
endpoint_print_buf(&wm->wc->endpoint)); endpoint_print_buf(&wm->wc->endpoint));
websocket_write_binary(wm->wc, wm->body->str, wm->body->len, 1); websocket_write_binary(wm->wc, wm->body->str, wm->body->len, 1);
return NULL; return NULL;


Loading…
Cancel
Save