Skip to content
Commit 87ccb79a authored by Leandro Pereira's avatar Leandro Pereira Committed by Jukka Rissanen
Browse files

net: lib: dns: Check return value of net_context_recv()



Given that K_NO_WAIT is passed as a timeout to net_context_recv(), it's
unlikely this function will return any error value.  It's cheap to
check, though, so do it.

Coverity-CID: 170580
Signed-off-by: default avatarLeandro Pereira <leandro.pereira@intel.com>
parent 2f117af6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment