diff options
author | Guido van Rossum <guido@python.org> | 2007-08-27 23:09:25 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2007-08-27 23:09:25 (GMT) |
commit | e22905a06c0632cb1c5fefcbbb51c0675ae21bba (patch) | |
tree | 0e5fc8d57800a489e01468f9b024663087ab5fbd /Modules | |
parent | 25a29a9534ea8bbfce297eb92c82741833fe04eb (diff) | |
download | cpython-e22905a06c0632cb1c5fefcbbb51c0675ae21bba.zip cpython-e22905a06c0632cb1c5fefcbbb51c0675ae21bba.tar.gz cpython-e22905a06c0632cb1c5fefcbbb51c0675ae21bba.tar.bz2 |
More changes needed to make things work once bytes and str are truly divorced.
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/socketmodule.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/socketmodule.c b/Modules/socketmodule.c index e157c3d..b33798d 100644 --- a/Modules/socketmodule.c +++ b/Modules/socketmodule.c @@ -1147,7 +1147,7 @@ getsockaddrarg(PySocketSockObject *s, PyObject *args, struct sockaddr_un* addr; char *path; int len; - if (!PyArg_Parse(args, "t#", &path, &len)) + if (!PyArg_Parse(args, "s#", &path, &len)) return 0; addr = (struct sockaddr_un*)addr_ret; |