doc: coap_server: fix msg size
The sizeof operator applied to a pointer to
char does not return the number of characters.
This leads to the message being cut off.
Instead we should use strlen.
Signed-off-by:
Sandro Scherer <sand.scherer@gmail.com>
Loading
Please sign in to comment