diff Modules/socketmodule.c @ 42918:9220931e4741

More changes needed to make things work once bytes and str are truly divorced.
author Guido van Rossum <guido@python.org>
date Mon, 27 Aug 2007 23:09:25 +0000
parents 9e81b22689d2
children b355d2dba9b6
line wrap: on
line diff
--- a/Modules/socketmodule.c	Mon Aug 27 22:31:36 2007 +0000
+++ b/Modules/socketmodule.c	Mon Aug 27 23:09:25 2007 +0000
@@ -1147,7 +1147,7 @@
 		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;