diff options
author | dkf <donal.k.fellows@manchester.ac.uk> | 2024-03-19 14:56:45 (GMT) |
---|---|---|
committer | dkf <donal.k.fellows@manchester.ac.uk> | 2024-03-19 14:56:45 (GMT) |
commit | 16b3adf662893e6db67e82fb1df01063e1315548 (patch) | |
tree | bcfa89065ecea0a374bed505c235b77cba3db0a3 /win/tclWinSock.c | |
parent | 7bf9d79d60378e206b741af48b8cf6c55451557e (diff) | |
download | tcl-16b3adf662893e6db67e82fb1df01063e1315548.zip tcl-16b3adf662893e6db67e82fb1df01063e1315548.tar.gz tcl-16b3adf662893e6db67e82fb1df01063e1315548.tar.bz2 |
Fix indentation/brace usage style issues
Diffstat (limited to 'win/tclWinSock.c')
-rw-r--r-- | win/tclWinSock.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/win/tclWinSock.c b/win/tclWinSock.c index d600f1f..17b6004 100644 --- a/win/tclWinSock.c +++ b/win/tclWinSock.c @@ -429,7 +429,7 @@ Tcl_GetHostName(void) */ void -TclInitSockets() +TclInitSockets(void) { /* Then Per thread initialization. */ DWORD id; @@ -1203,7 +1203,7 @@ TcpSetOptionProc( return TCL_OK; } if ((len > 1) && (optionName[1] == 'n') && - (strncmp(optionName, "-nodelay", len) == 0)) { + (strncmp(optionName, "-nodelay", len) == 0)) { BOOL boolVar; int rtn; @@ -2268,7 +2268,7 @@ Tcl_OpenTcpServerEx( ioctlsocket(sock, (long) FIONBIO, &flag); SendSelectMessage(tsdPtr, SELECT, statePtr); if (Tcl_SetChannelOption(interp, statePtr->channel, "-eofchar", "") - == TCL_ERROR) { + == TCL_ERROR) { Tcl_CloseEx(NULL, statePtr->channel, 0); return NULL; } |