summaryrefslogtreecommitdiff
path: root/Modules/socketmodule.h
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2006-12-03 11:24:00 +0000
committerMartin v. Löwis <martin@v.loewis.de>2006-12-03 11:24:00 +0000
commit95b744cea98be482c44fed4ff3a3e48bf910410c (patch)
tree06396fa14478c2237bec962bfd539a27b830b555 /Modules/socketmodule.h
parent1c305dbf978021b4609b43338fc037b36cc1ed38 (diff)
downloadcpython-git-95b744cea98be482c44fed4ff3a3e48bf910410c.tar.gz
Patch #1544279: Improve thread-safety of the socket module by moving
the sock_addr_t storage out of the socket object.
Diffstat (limited to 'Modules/socketmodule.h')
-rw-r--r--Modules/socketmodule.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/Modules/socketmodule.h b/Modules/socketmodule.h
index ae38c86cbc..84f2422f41 100644
--- a/Modules/socketmodule.h
+++ b/Modules/socketmodule.h
@@ -114,7 +114,6 @@ typedef struct {
int sock_family; /* Address family, e.g., AF_INET */
int sock_type; /* Socket type, e.g., SOCK_STREAM */
int sock_proto; /* Protocol type, usually 0 */
- sock_addr_t sock_addr; /* Socket address */
PyObject *(*errorhandler)(void); /* Error handler; checks
errno, returns NULL and
sets a Python exception */