zephyr/subsys/net/lib/websocket
Sjors Hettinga 452592fc9a net: websockets: Fix websocket_send_msg return code
When the websocket_prepare_and_send is called from websocket_send_msg,
the header length is subtracted to retrieve the transmitted payload length.
Make an exclutsion to prevent the return code of
websocket_prepare_and_send being modified in case of 0 or a negative
return code.
This avoid confusion with modificated error codes

Signed-off-by: Sjors Hettinga <s.a.hettinga@gmail.com>
2022-09-13 08:49:24 +00:00
..
CMakeLists.txt net: websocket: client: Simple API for Websocket client 2019-10-04 16:38:34 +03:00
Kconfig kconfig: net: experimental settings now uses select EXPERIMENTAL 2021-10-25 10:46:48 +02:00
websocket.c net: websockets: Fix websocket_send_msg return code 2022-09-13 08:49:24 +00:00
websocket_internal.h subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00