Skip to content
Commit d082c7dc authored by Joakim Andersson's avatar Joakim Andersson Committed by Fabio Baltieri
Browse files

net: http_client: Fix handling of poll error revents



Fix handling of poll setting socket error flag.
In this case errno is no set, so should not be the return value either.
Instead retrieve the socket error for SOCKERR and return EBADF for
SOCKNVAL.

Signed-off-by: default avatarJoakim Andersson <joerchan@gmail.com>
parent 5a1f7a58
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment