summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2007-08-27 23:09:25 (GMT)
committerGuido van Rossum <guido@python.org>2007-08-27 23:09:25 (GMT)
commite22905a06c0632cb1c5fefcbbb51c0675ae21bba (patch)
tree0e5fc8d57800a489e01468f9b024663087ab5fbd /Modules
parent25a29a9534ea8bbfce297eb92c82741833fe04eb (diff)
downloadcpython-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.c2
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;