Skip to content
Commit 01d176af authored by Gregory Nutt's avatar Gregory Nutt
Browse files

net_startmonitor.c always returned zero. In the case where a socket has...

net_startmonitor.c always returned zero.  In the case where a socket has already been closed, it correctly handled the disconnetion event but still returned OK.  Returning OK causes the callers of net_startmonitor to assume that the connection was okay, undoing the good things that net_startmonitor did and causing the socket to be marked as connected.  This behavior was noted by Pelle Windestam.
parent 0e2b6929
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment