mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-10 00:34:59 +01:00
WebSockets: add useful comment on lws_write()
This commit is contained in:
parent
c477a81a7c
commit
ed427e5704
1 changed files with 1 additions and 0 deletions
|
|
@ -397,6 +397,7 @@ WebsocketsServer::send_index_body (Client wsi)
|
|||
#endif
|
||||
int len = strlen (body);
|
||||
|
||||
/* lws_write() expects a writable buffer */
|
||||
if (lws_write (wsi, reinterpret_cast<unsigned char*> (body), len, LWS_WRITE_HTTP) != len) {
|
||||
return 1;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue