diff options
author | max <max@tclers.tk> | 2013-11-18 13:32:30 (GMT) |
---|---|---|
committer | max <max@tclers.tk> | 2013-11-18 13:32:30 (GMT) |
commit | 9b104b7167d18325a28a7e1c3891ce8513249e23 (patch) | |
tree | c561fb12851610556220bebcb1839b9d616d4e41 /win/tclWinSock.c | |
parent | 643e5bc24ed7dd6a21ca1a562693d0d9ce4f2651 (diff) | |
download | tcl-9b104b7167d18325a28a7e1c3891ce8513249e23.zip tcl-9b104b7167d18325a28a7e1c3891ce8513249e23.tar.gz tcl-9b104b7167d18325a28a7e1c3891ce8513249e23.tar.bz2 |
Revert [3c0b0bbda6]. If this really is a problem, it needs to get fixed by other means than covering behind void pointers.
Diffstat (limited to 'win/tclWinSock.c')
-rw-r--r-- | win/tclWinSock.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/win/tclWinSock.c b/win/tclWinSock.c index 5ac8f47..11b4162 100644 --- a/win/tclWinSock.c +++ b/win/tclWinSock.c @@ -1131,10 +1131,9 @@ CreateSocket( int asyncConnect = 0; /* Will be 1 if async connect is in * progress. */ unsigned short chosenport = 0; - void *addrlist = NULL, *myaddrlist = NULL; - struct addrinfo *addrPtr; + struct addrinfo *addrlist = NULL, *addrPtr; /* Socket address to connect to. */ - struct addrinfo *myaddrPtr; + struct addrinfo *myaddrlist = NULL, *myaddrPtr; /* Socket address for our side. */ const char *errorMsg = NULL; SOCKET sock = INVALID_SOCKET; |