Skip to content
Commit 48434a3c authored by Seppo Takalo's avatar Seppo Takalo Committed by Anas Nashif
Browse files

net: lib: coap_client: Return -errno from send_request()



Return the -errno when zsock_sendto() or zsock_recvfrom() fails, so
rest of the code can deal with return values, instead of separately
comparing errno and return value.


Signed-off-by: default avatarSeppo Takalo <seppo.takalo@nordicsemi.no>
parent a1368a7f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment