udp: Properly check for invalid sockets
If stdin has been closed, 0 is a valid socket descriptor.
Signed-off-by:
Martin Storsjö <martin@martin.st>
Showing
Please
register
or
sign in
to comment
If stdin has been closed, 0 is a valid socket descriptor.
Signed-off-by:
Martin Storsjö <martin@martin.st>