chiark
/
gitweb
/
~mdw
/
mLib-python
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
selpk.pyx: Fix bad cut-and-paste in the callback property.
[mLib-python]
/
fdutils.pyx
diff --git
a/fdutils.pyx
b/fdutils.pyx
index 68e05680a48913b73cacbf85c2171abac156e362..bb28188ae162231ea5d7adab0feee4cc5e3621f7 100644
(file)
--- a/
fdutils.pyx
+++ b/
fdutils.pyx
@@
-36,7
+36,7
@@
def fdsend(sock, file, buffer):
cdef void *p
cdef Py_ssize_t len
cdef int rc
- PyObject_AsReadBuffer(buffer, &p, &len)
+ PyObject_AsReadBuffer(buffer,
<cvp *>
&p, &len)
rc = fdpass_send(_getfd(sock), _getfd(file), p, len)
if rc < 0:
_oserror()