]> git.gsnw.org Git - fping.git/commit
Return -1 when socket_can_read times out.
authorRamon Novoa <ramonnovoa@gmail.com>
Thu, 15 Feb 2018 12:24:27 +0000 (13:24 +0100)
committerRamon Novoa <ramonnovoa@gmail.com>
Thu, 15 Feb 2018 12:24:27 +0000 (13:24 +0100)
commitc950ceccea358660532684ced9c3bb3b7159d09d
tree8311f66f7343c12bc945974bf7e563fdbfb50c89
parent16aaa609cd5873353a0492eb9f2566ab82e84b93
Return -1 when socket_can_read times out.

0 is a valid file descriptor. Use -1 instead to signal a timeout.
src/fping.c