diff options
| author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2022-09-07 07:42:02 (GMT) |
|---|---|---|
| committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2022-09-07 07:42:02 (GMT) |
| commit | 67be0a6752a150bad176f36988e3af03f25cc4d3 (patch) | |
| tree | b4e1e5839557bc48da2e58f943a0f727ac4ca4de /unix/tclUnixSock.c | |
| parent | 57807a30bb766ff5e18b94270ac3d92041b006af (diff) | |
| parent | ea5d97f286ae2af57a461f9935df7664ca625edf (diff) | |
| download | tcl-67be0a6752a150bad176f36988e3af03f25cc4d3.zip tcl-67be0a6752a150bad176f36988e3af03f25cc4d3.tar.gz tcl-67be0a6752a150bad176f36988e3af03f25cc4d3.tar.bz2 | |
Merge 8.6
Diffstat (limited to 'unix/tclUnixSock.c')
| -rw-r--r-- | unix/tclUnixSock.c | 8 |
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; } |
