268087646d
net_buf does not hold strings, it holds counted bytes. Use memcpy to place data into the buffer during testing rather than strncpy as the latter generates warnings because the destination will not be nul-terminated. Signed-off-by: Keith Packard <keithp@keithp.com> |
||
---|---|---|
.. | ||
main.c |