summaryrefslogtreecommitdiffstats
path: root/unix/tclUnixSock.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2022-09-07 07:47:21 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2022-09-07 07:47:21 (GMT)
commit4c66b6ec4315475b1a2b49380da00926a9c4fbb6 (patch)
tree19b1f222792214597c973bf7bd648c2f37e47390 /unix/tclUnixSock.c
parentad1c9644ec994dee42c667d8562d68227437737e (diff)
parent67be0a6752a150bad176f36988e3af03f25cc4d3 (diff)
downloadtcl-4c66b6ec4315475b1a2b49380da00926a9c4fbb6.zip
tcl-4c66b6ec4315475b1a2b49380da00926a9c4fbb6.tar.gz
tcl-4c66b6ec4315475b1a2b49380da00926a9c4fbb6.tar.bz2
Merge 8.7
Diffstat (limited to 'unix/tclUnixSock.c')
-rw-r--r--unix/tclUnixSock.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/unix/tclUnixSock.c b/unix/tclUnixSock.c
index e7c9458..3cc0c8b 100644
--- a/unix/tclUnixSock.c
+++ b/unix/tclUnixSock.c
@@ -53,8 +53,6 @@ typedef struct TcpFdList {
struct TcpState {
Tcl_Channel channel; /* Channel associated with this file. */
- int testFlags; /* bit field for tests. Is set by testsocket
- * test procedure */
TcpFdList fds; /* The file descriptors of the sockets. */
int flags; /* ORed combination of the bitfields defined
* below. */
@@ -80,6 +78,8 @@ struct TcpState {
* an async socket is not yet connected. */
int connectError; /* Cache SO_ERROR of async socket. */
int cachedBlocking; /* Cache blocking mode of async socket. */
+ int testFlags; /* bit field for tests. Is set by testsocket
+ * test procedure */
};
/*
@@ -877,8 +877,8 @@ TcpGetOptionProc(
if ((len > 1) && (optionName[1] == 'c') &&
(strncmp(optionName, "-connecting", len) == 0)) {
- Tcl_DStringAppend(dsPtr,
- GOT_BITS(statePtr->flags, TCP_ASYNC_CONNECT) ? "1" : "0", TCL_INDEX_NONE);
+ Tcl_DStringAppend(dsPtr,
+ GOT_BITS(statePtr->flags, TCP_ASYNC_CONNECT) ? "1" : "0", TCL_INDEX_NONE);
return TCL_OK;
}