summaryrefslogtreecommitdiffstats
path: root/Modules/socketmodule.h
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2006-12-03 11:23:45 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2006-12-03 11:23:45 (GMT)
commit046c4d13beea45c2b89b7b80f2654dff5a38eac8 (patch)
treefa6ee440f5575b55f9af8948e1233bbf0ea44c4f /Modules/socketmodule.h
parent8609da9b17ef73a2fbd272fe665ca054f6383929 (diff)
downloadcpython-046c4d13beea45c2b89b7b80f2654dff5a38eac8.zip
cpython-046c4d13beea45c2b89b7b80f2654dff5a38eac8.tar.gz
cpython-046c4d13beea45c2b89b7b80f2654dff5a38eac8.tar.bz2
Patch #1544279: Improve thread-safety of the socket module by moving
the sock_addr_t storage out of the socket object. Will backport to 2.5.
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 ae38c86..84f2422 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 */