summaryrefslogtreecommitdiffstats
path: root/win/tclWinSock.c
diff options
context:
space:
mode:
authormax <max@tclers.tk>2013-11-18 13:32:30 (GMT)
committermax <max@tclers.tk>2013-11-18 13:32:30 (GMT)
commitbb220ac0ad5e4e47701d63ba4f73d5d8dff94d16 (patch)
treec561fb12851610556220bebcb1839b9d616d4e41 /win/tclWinSock.c
parent317c7c699116d53379674caf373ab8fc3b03c0d8 (diff)
downloadtcl-bb220ac0ad5e4e47701d63ba4f73d5d8dff94d16.zip
tcl-bb220ac0ad5e4e47701d63ba4f73d5d8dff94d16.tar.gz
tcl-bb220ac0ad5e4e47701d63ba4f73d5d8dff94d16.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.c5
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;