correctly handle read(2) return value.
authoreric <eric@openbsd.org>
Sat, 28 Sep 2019 11:21:07 +0000 (11:21 +0000)
committereric <eric@openbsd.org>
Sat, 28 Sep 2019 11:21:07 +0000 (11:21 +0000)
commit449cbdb1e1ebe27ad11a89400f4f2baf427d76f9
treed0fc0bc73970c104fda10f049c3ff05a387d00bc
parent6ffc057a535306cad297f7ec6af42b399e7419c6
correctly handle read(2) return value.

fix issue reported by Mikolaj Kucharski.

ok martijn@ deraadt@
lib/libc/asr/res_send_async.c