remove wrong assumption based on misreading the man page

This commit is contained in:
Christian Ulrich 2020-06-14 22:42:04 +02:00
parent d1d4019af0
commit ccd0a9983e
No known key found for this signature in database
GPG Key ID: 8241BE099775A097
1 changed files with 0 additions and 2 deletions

View File

@ -138,8 +138,6 @@ proc asyncRecvMsg*(fd: AsyncFD,
retFuture.fail(newException(ValueError, "unexpected ancillary data"))
return
# FIXME: This will not work on FreeBSD as recvmsg(2) says:
# recvmmsg() returns the number of messages received
dataBuffer.setLen(res)
retFuture.complete((dataBuffer, ancillaryData))