diff options
Diffstat (limited to 'net/ws.c')
-rw-r--r-- | net/ws.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -36,7 +36,7 @@ void ws_send_heartbeat() void ws_handle_event(cJSON *event) { int op = cJSON_GetObjectItem(event, "op")->valueint; - cJSON *data = cJSON_GetObjectItem(event, "d") + cJSON *data = cJSON_GetObjectItem(event, "d"); switch(op) { case 1: /* Heartbeat request */ ws_send_heartbeat(); |