[pypy-svn] r26437 - pypy/dist/pypy/module/_socket

ac at codespeak.net ac at codespeak.net
Thu Apr 27 13:02:25 CEST 2006


Author: ac
Date: Thu Apr 27 13:02:24 2006
New Revision: 26437

Modified:
   pypy/dist/pypy/module/_socket/interp_socket.py
Log:
(aleale, arre) Typo.

Modified: pypy/dist/pypy/module/_socket/interp_socket.py
==============================================================================
--- pypy/dist/pypy/module/_socket/interp_socket.py	(original)
+++ pypy/dist/pypy/module/_socket/interp_socket.py	Thu Apr 27 13:02:24 2006
@@ -207,7 +207,7 @@
         raise  w_get_socketherror(space, None, _c.h_errno.value)
     p_addr = hostent.contents.h_addr_list[0]
 
-    hostent = _c.gethostbyaddr(p_addr, _c.in_addr, _c.AF_INET)
+    hostent = _c.gethostbyaddr(p_addr, _c.in_addr_size, _c.AF_INET)
     return common_gethost(space, hostent)
 gethostbyaddr.unwrap_spec = [ObjSpace, str]
 



More information about the Pypy-commit mailing list