2
0
mirror of https://github.com/xcat2/confluent.git synced 2024-11-26 03:19:48 +00:00

Remove disused recvmsg ctypes wrapper

Since going to builtin python recvmsg, remove
the ctypes wrapper.
This commit is contained in:
Jarrod Johnson 2024-05-09 09:48:11 -04:00
parent 2e30f7fb86
commit f6fc539df9

View File

@ -97,10 +97,6 @@ class ClientFile(object):
self.filename = name
libc = ctypes.CDLL(ctypes.util.find_library('c'))
recvmsg = libc.recvmsg
recvmsg.argtypes = [ctypes.c_int, ctypes.POINTER(msghdr), ctypes.c_int]
recvmsg.restype = ctypes.c_int
def _sendmsg(loop, fut, sock, msg, fds, rfd):