summaryrefslogtreecommitdiffstats
path: root/win
diff options
context:
space:
mode:
authormax <max@tclers.tk>2013-11-18 13:37:16 (GMT)
committermax <max@tclers.tk>2013-11-18 13:37:16 (GMT)
commitb58c67dddc5793d12e85d5b0066a4660d2b08671 (patch)
tree3fd89840208961c53d34e139c5961dc5344005da /win
parent5a8572af1f72090ba2d223c007d9803397958c14 (diff)
parent9b104b7167d18325a28a7e1c3891ce8513249e23 (diff)
downloadtcl-b58c67dddc5793d12e85d5b0066a4660d2b08671.zip
tcl-b58c67dddc5793d12e85d5b0066a4660d2b08671.tar.gz
tcl-b58c67dddc5793d12e85d5b0066a4660d2b08671.tar.bz2
merge trunk
Diffstat (limited to 'win')
-rw-r--r--win/tclWinSock.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/win/tclWinSock.c b/win/tclWinSock.c
index bd993fa..958e4ac 100644
--- a/win/tclWinSock.c
+++ b/win/tclWinSock.c
@@ -1133,10 +1133,9 @@ CreateClientSocket(
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;