[pypy-svn] r26209 - pypy/dist/pypy/rpython/rctypes/socketmodule

dialtone at codespeak.net dialtone at codespeak.net
Mon Apr 24 03:56:14 CEST 2006


Author: dialtone
Date: Mon Apr 24 03:56:11 2006
New Revision: 26209

Modified:
   pypy/dist/pypy/rpython/rctypes/socketmodule/ctypes_socket.py
Log:
(ericvrp, dialtone)
socklen_t is actually a pointer

Modified: pypy/dist/pypy/rpython/rctypes/socketmodule/ctypes_socket.py
==============================================================================
--- pypy/dist/pypy/rpython/rctypes/socketmodule/ctypes_socket.py	(original)
+++ pypy/dist/pypy/rpython/rctypes/socketmodule/ctypes_socket.py	Mon Apr 24 03:56:11 2006
@@ -106,5 +106,5 @@
 inet_aton.restype = c_int
 
 socketaccept = socketdll.accept
-socketaccept.argtypes = [c_int, POINTER(sockaddr), socklen_t]
+socketaccept.argtypes = [c_int, POINTER(sockaddr), POINTER(socklen_t)]
 socketaccept.restype = c_int



More information about the Pypy-commit mailing list