aboutsummaryrefslogtreecommitdiffhomepage
path: root/backends/maweb.c
diff options
context:
space:
mode:
authorcbdev <cb@cbcdn.com>2020-06-11 12:27:57 +0200
committercbdev <cb@cbcdn.com>2020-06-11 12:27:57 +0200
commit5e4c3fe5a81f548243aab01a42973333b559004f (patch)
tree2cc9125aa681e6fac7d263413959db1388a97b46 /backends/maweb.c
parente52c67ce0da7c3847d2583c8df6d5f1bd1fecb9e (diff)
downloadmidimonster-5e4c3fe5a81f548243aab01a42973333b559004f.tar.gz
midimonster-5e4c3fe5a81f548243aab01a42973333b559004f.tar.bz2
midimonster-5e4c3fe5a81f548243aab01a42973333b559004f.zip
Query joystick buttons
Diffstat (limited to 'backends/maweb.c')
-rw-r--r--backends/maweb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/backends/maweb.c b/backends/maweb.c
index 7829ec4..33d2b7e 100644
--- a/backends/maweb.c
+++ b/backends/maweb.c
@@ -669,7 +669,7 @@ static void maweb_disconnect(instance* inst){
char xmit_buffer[MAWEB_XMIT_CHUNK];
if(data->fd){
- //close the session if one is active
+ //close the session if one is active
if(data->session > 0){
snprintf(xmit_buffer, sizeof(xmit_buffer), "{\"requestType\":\"close\",\"session\":%" PRIu64 "}", data->session);
maweb_send_frame(inst, ws_text, (uint8_t*) xmit_buffer, strlen(xmit_buffer));