aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
Diffstat (limited to 'net')
-rw-r--r--net/ws.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ws.c b/net/ws.c
index 8f3a588..3a8d512 100644
--- a/net/ws.c
+++ b/net/ws.c
@@ -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();