diff options
author | Peter Schneider-Kamp <nowonder@nowonder.de> | 2000-07-11 23:00:12 (GMT) |
---|---|---|
committer | Peter Schneider-Kamp <nowonder@nowonder.de> | 2000-07-11 23:00:12 (GMT) |
commit | 618e25dfdfed6130eac579d85d983c684619e29b (patch) | |
tree | 5ea7fca17a0784d8ef8515293a422723826e63b0 /Modules/socketmodule.c | |
parent | e17fd2a5afab84e58e60df87b02b9c7139a57248 (diff) | |
download | cpython-618e25dfdfed6130eac579d85d983c684619e29b.zip cpython-618e25dfdfed6130eac579d85d983c684619e29b.tar.gz cpython-618e25dfdfed6130eac579d85d983c684619e29b.tar.bz2 |
Errare humanum est.
Changed parameter in getsockaddrlen from unsigned to socklen_t.
Diffstat (limited to 'Modules/socketmodule.c')
-rw-r--r-- | Modules/socketmodule.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/socketmodule.c b/Modules/socketmodule.c index cadf609..56e30d1 100644 --- a/Modules/socketmodule.c +++ b/Modules/socketmodule.c @@ -575,7 +575,7 @@ getsockaddrarg(PySocketSockObject *s, PyObject *args, struct sockaddr **addr_ret through len_ret. */ static int -getsockaddrlen(PySocketSockObject *s, unsigned int *len_ret) +getsockaddrlen(PySocketSockObject *s, socklen_t *len_ret) { switch (s->sock_family) { |