remove debug output
This commit is contained in:
parent
80c2c50d26
commit
0f622c0953
|
@ -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:
|
||||
|
|
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue