summaryrefslogtreecommitdiffstats
path: root/Modules/socketmodule.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1998-10-08 02:25:24 (GMT)
committerGuido van Rossum <guido@python.org>1998-10-08 02:25:24 (GMT)
commit7e48898d86aaddac7f26b7a859a7b8996dfdbea9 (patch)
treeab895a2a39069e9c005ee5e887d2292d0e7ab94e /Modules/socketmodule.c
parentb317f8aa0d1387f30c72df47bf18cb7517f45f2a (diff)
downloadcpython-7e48898d86aaddac7f26b7a859a7b8996dfdbea9.zip
cpython-7e48898d86aaddac7f26b7a859a7b8996dfdbea9.tar.gz
cpython-7e48898d86aaddac7f26b7a859a7b8996dfdbea9.tar.bz2
Use the t# format where appropriate. Greg Stein.
Diffstat (limited to 'Modules/socketmodule.c')
-rw-r--r--Modules/socketmodule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/socketmodule.c b/Modules/socketmodule.c
index e195389..9d672a6 100644
--- a/Modules/socketmodule.c
+++ b/Modules/socketmodule.c
@@ -472,7 +472,7 @@ getsockaddrarg,PySocketSockObject *,s, PyObject *,args, struct sockaddr **,addr_
char *path;
int len;
addr = (struct sockaddr_un* )&(s->sock_addr).un;
- if (!PyArg_Parse(args, "s#", &path, &len))
+ if (!PyArg_Parse(args, "t#", &path, &len))
return 0;
if (len > sizeof addr->sun_path) {
PyErr_SetString(PySocket_Error,