From ccd0a9983ebe41d23c32dc1c4d5e6c5a0ce69a1f Mon Sep 17 00:00:00 2001 From: Christian Ulrich Date: Sun, 14 Jun 2020 22:42:04 +0200 Subject: [PATCH] remove wrong assumption based on misreading the man page --- asyncutils.nim | 2 -- 1 file changed, 2 deletions(-) diff --git a/asyncutils.nim b/asyncutils.nim index a70d8cf..5f61ca1 100644 --- a/asyncutils.nim +++ b/asyncutils.nim @@ -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))