From 0f622c0953d6ed63385f40717d4c22dbcf8d6551 Mon Sep 17 00:00:00 2001 From: Christian Ulrich Date: Sun, 23 Aug 2020 12:49:06 +0200 Subject: [PATCH] remove debug output --- asyncutils.nim | 1 - examples/app/asyncutils.nim | 1 - 2 files changed, 2 deletions(-) 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):