summaryrefslogtreecommitdiffstats
path: root/unix/tclUnixSock.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2022-09-07 07:42:02 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2022-09-07 07:42:02 (GMT)
commit67be0a6752a150bad176f36988e3af03f25cc4d3 (patch)
treeb4e1e5839557bc48da2e58f943a0f727ac4ca4de /unix/tclUnixSock.c
parent57807a30bb766ff5e18b94270ac3d92041b006af (diff)
parentea5d97f286ae2af57a461f9935df7664ca625edf (diff)
downloadtcl-67be0a6752a150bad176f36988e3af03f25cc4d3.zip
tcl-67be0a6752a150bad176f36988e3af03f25cc4d3.tar.gz
tcl-67be0a6752a150bad176f36988e3af03f25cc4d3.tar.bz2
Merge 8.6
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 b1dbdbc..1c07e8d 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 */
};
/*
@@ -880,8 +880,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;
}