mirror of
https://github.com/xcat2/confluent.git
synced 2024-11-29 13:00:03 +00:00
Remove disused recvmsg ctypes wrapper
Since going to builtin python recvmsg, remove the ctypes wrapper.
This commit is contained in:
parent
2e30f7fb86
commit
f6fc539df9
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user