Skip to content
Commit 26808764 authored by Keith Packard's avatar Keith Packard Committed by Johan Hedberg
Browse files

tests/bluetooth: Use memcpy to put data into net_buf



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: default avatarKeith Packard <keithp@keithp.com>
parent d61d941e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment