summaryrefslogtreecommitdiffstats
path: root/generic/tclIOSock.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2015-10-19 13:52:58 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2015-10-19 13:52:58 (GMT)
commitec590efe63eabdd8f4a8768f8cadab88ba95033e (patch)
treeab6108d7447fa27e78e08bded7ce10e647d82220 /generic/tclIOSock.c
parent602a687e5116fe133efb686f83f92cb108429306 (diff)
downloadtcl-ec590efe63eabdd8f4a8768f8cadab88ba95033e.zip
tcl-ec590efe63eabdd8f4a8768f8cadab88ba95033e.tar.gz
tcl-ec590efe63eabdd8f4a8768f8cadab88ba95033e.tar.bz2
typo in comment. Eliminate unnecessary end-of-line spacing.
Diffstat (limited to 'generic/tclIOSock.c')
-rw-r--r--generic/tclIOSock.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/generic/tclIOSock.c b/generic/tclIOSock.c
index f69d30f..d578d19 100644
--- a/generic/tclIOSock.c
+++ b/generic/tclIOSock.c
@@ -23,7 +23,7 @@ static Tcl_ThreadDataKey dataKey;
#undef gai_strerror
static const char *gai_strerror(int code) {
ThreadSpecificData *tsdPtr = TCL_TSD_INIT(&dataKey);
-
+
if (tsdPtr->initialized) {
Tcl_DStringFree(&tsdPtr->errorMsg);
} else {
@@ -187,11 +187,11 @@ TclCreateSocketAddress(
TclFormatInt(portbuf, port);
portstring = portbuf;
}
-
+
(void) memset(&hints, 0, sizeof(hints));
hints.ai_family = AF_UNSPEC;
- /*
+ /*
* Magic variable to enforce a certain address family - to be superseded
* by a TIP that adds explicit switches to [socket]
*/
@@ -228,7 +228,7 @@ TclCreateSocketAddress(
if (willBind) {
hints.ai_flags |= AI_PASSIVE;
- }
+ }
result = getaddrinfo(native, portstring, &hints, addrlist);
@@ -283,7 +283,7 @@ TclCreateSocketAddress(
for (p = *addrlist; p != NULL; p = p->ai_next) {
i++;
}
-
+
return 1;
}