4234e801b5
The TLS_HOSTNAME socket option expects a NULL terminated string and doesn't really care about the optlen provided. However, as the option expects that the string is NULL terminated, the optlen value should take NULL character into account, for consistency across the codebase. Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no> |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
Kconfig | ||
mqtt.c | ||
mqtt_decoder.c | ||
mqtt_encoder.c | ||
mqtt_internal.h | ||
mqtt_os.h | ||
mqtt_rx.c | ||
mqtt_transport.c | ||
mqtt_transport.h | ||
mqtt_transport_socket_tcp.c | ||
mqtt_transport_socket_tls.c | ||
mqtt_transport_websocket.c |