summaryrefslogtreecommitdiffstats
path: root/win/tclWinSock.c
diff options
context:
space:
mode:
authorcvs2fossil <cvs2fossil@noemail.net>2010-12-17 17:55:45 (GMT)
committercvs2fossil <cvs2fossil@noemail.net>2010-12-17 17:55:45 (GMT)
commit2b5a8f5ee79c4de67c67fbf66e8d4c94ea73bfe2 (patch)
tree204a2107d1e2576f7c3e2c7006e5ac0dbd74a670 /win/tclWinSock.c
parent186a9578f088ae9cce2eda3ce217f6927796a1ee (diff)
downloadtcl-dogeen-assembler-merge.zip
tcl-dogeen-assembler-merge.tar.gz
tcl-dogeen-assembler-merge.tar.bz2
Created branch dogeen-assembler-merge-syntheticdogeen-assembler-merge
FossilOrigin-Name: b984b3567a6d69a796f652cb72c89366d396e5d6
Diffstat (limited to 'win/tclWinSock.c')
-rw-r--r--win/tclWinSock.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/win/tclWinSock.c b/win/tclWinSock.c
index c7df204..5407b47 100644
--- a/win/tclWinSock.c
+++ b/win/tclWinSock.c
@@ -8,7 +8,7 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclWinSock.c,v 1.81 2010/12/14 17:22:55 rmax Exp $
+ * RCS: @(#) $Id: tclWinSock.c,v 1.80 2010/12/10 15:44:53 nijtmans Exp $
*
* -----------------------------------------------------------------------
*
@@ -1142,10 +1142,10 @@ CreateSocket(
}
}
} else {
- for (addrPtr = addrlist; addrPtr != NULL;
- addrPtr = addrPtr->ai_next) {
- for (myaddrPtr = myaddrlist; myaddrPtr != NULL;
- myaddrPtr = myaddrPtr->ai_next) {
+ for (myaddrPtr = myaddrlist; myaddrPtr != NULL;
+ myaddrPtr = myaddrPtr->ai_next) {
+ for (addrPtr = addrlist; addrPtr != NULL;
+ addrPtr = addrPtr->ai_next) {
/*
* No need to try combinations of local and remote addresses
* of different families.