Mercurial > cpython-lru_cache-weakref
diff Modules/socketmodule.c @ 41341:f86557e503f3 legacy-trunk
Fix method names. Will backport.
| author | Neal Norwitz <nnorwitz@gmail.com> |
|---|---|
| date | Sat, 31 Mar 2007 18:54:18 +0000 |
| parents | d144f81574c0 |
| children | c36ac67eef5b |
line wrap: on
line diff
--- a/Modules/socketmodule.c Sat Mar 31 11:59:54 2007 +0000 +++ b/Modules/socketmodule.c Sat Mar 31 18:54:18 2007 +0000 @@ -2384,7 +2384,7 @@ int buflen; /* Get the buffer's memory */ - if (!PyArg_ParseTupleAndKeywords(args, kwds, "w#|ii:recv", kwlist, + if (!PyArg_ParseTupleAndKeywords(args, kwds, "w#|ii:recv_into", kwlist, &buf, &buflen, &recvlen, &flags)) return NULL; assert(buf != 0 && buflen > 0); @@ -2559,8 +2559,9 @@ PyObject *addr = NULL; - if (!PyArg_ParseTupleAndKeywords(args, kwds, "w#|ii:recvfrom", kwlist, - &buf, &buflen, &recvlen, &flags)) + if (!PyArg_ParseTupleAndKeywords(args, kwds, "w#|ii:recvfrom_into", + kwlist, &buf, &buflen, + &recvlen, &flags)) return NULL; assert(buf != 0 && buflen > 0);
