diff --git a/asyncutils.nim b/asyncutils.nim index e051f8b..51baf95 100644 --- a/asyncutils.nim +++ b/asyncutils.nim @@ -91,7 +91,6 @@ proc asyncSendMsg*(fd: AsyncFD, data: string, cmsgHeader.cmsg_type = cmsg.msgType.int32 copyMem(CMSG_DATA(cmsgHeader), cmsg.data.cstring, cmsg.data.len) cmsgHeader = CMSG_NXTHDR(addr msg, cmsgHeader) - echo "cmsgHeader = ", cast[int](cmsgHeader) let res = sendmsg(sock.SocketHandle, addr msg, 0) if res < 0: diff --git a/examples/app/asyncutils.nim b/examples/app/asyncutils.nim index 793d540..30a716e 100644 --- a/examples/app/asyncutils.nim +++ b/examples/app/asyncutils.nim @@ -26,7 +26,6 @@ type ControlMessage* = object data*: string proc getFd*(cmsg: ControlMessage): AsyncFD = - echo "cmsg.data.len: ", cmsg.data.len if cmsg.level != SOL_SOCKET or cmsg.msgType != SCM_RIGHTS or cmsg.data.len != sizeof(AsyncFD):