Do not sleep after poll returning an error. Blindly copied over from
authorflorian <florian@openbsd.org>
Mon, 28 Apr 2014 15:25:34 +0000 (15:25 +0000)
committerflorian <florian@openbsd.org>
Mon, 28 Apr 2014 15:25:34 +0000 (15:25 +0000)
commitc9eeb5835cf759eb0d9672faf7825f31a78e5b89
treec508520e2fa43c80229ede9200aef7a29e683c86
parentddbf79104829765cd321c78a0d00e2089704a92c
Do not sleep after poll returning an error. Blindly copied over from
ping6 to ping by me without thinking clearly.
pointed out by deraadt@
OK jca@
sbin/ping/ping.c
sbin/ping6/ping6.c