diff options
author | turret <turret@duck.com> | 2024-01-18 09:24:01 -0600 |
---|---|---|
committer | turret <turret@duck.com> | 2024-01-18 09:24:01 -0600 |
commit | 74b6fc2db2699088606d052a2f0bd99c38a57650 (patch) | |
tree | 45debab1ef98a817deed4975beec97d584a2cc3e /net | |
parent | 9a30ecfb12ca3a2775f64fead593de0040ac020b (diff) | |
download | discord-bot-skeleton-74b6fc2db2699088606d052a2f0bd99c38a57650.tar.gz discord-bot-skeleton-74b6fc2db2699088606d052a2f0bd99c38a57650.tar.bz2 discord-bot-skeleton-74b6fc2db2699088606d052a2f0bd99c38a57650.zip |
ws: fix typo
Diffstat (limited to 'net')
-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(); |