summaryrefslogtreecommitdiffstats
path: root/win/tclWinSock.c
diff options
context:
space:
mode:
authordkf <dkf@noemail.net>2004-10-06 14:39:20 (GMT)
committerdkf <dkf@noemail.net>2004-10-06 14:39:20 (GMT)
commitb4808b5cd1d437bbf1589adc0ce0629c127e5511 (patch)
tree2013796ddda544f1735301e0dc669f661d1657c9 /win/tclWinSock.c
parent082d3b25c12f85e28befc720a4a4fe1b15e9b624 (diff)
downloadtcl-b4808b5cd1d437bbf1589adc0ce0629c127e5511.zip
tcl-b4808b5cd1d437bbf1589adc0ce0629c127e5511.tar.gz
tcl-b4808b5cd1d437bbf1589adc0ce0629c127e5511.tar.bz2
Style fixes
FossilOrigin-Name: 7389be9553bb4a4143bf27f8f1fa519e5ef86c63
Diffstat (limited to 'win/tclWinSock.c')
-rw-r--r--win/tclWinSock.c16
1 files changed, 11 insertions, 5 deletions
diff --git a/win/tclWinSock.c b/win/tclWinSock.c
index 1477eeb..c732d36 100644
--- a/win/tclWinSock.c
+++ b/win/tclWinSock.c
@@ -8,7 +8,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclWinSock.c,v 1.43 2004/05/05 18:22:38 davygrvy Exp $
+ * RCS: @(#) $Id: tclWinSock.c,v 1.44 2004/10/06 14:39:20 dkf Exp $
*/
#include "tclWinInt.h"
@@ -2193,7 +2193,9 @@ TcpGetOptionProc(instanceData, interp, optionName, dsPtr)
} else {
Tcl_DStringAppendElement(dsPtr, "0");
}
- if (len > 0) return TCL_OK;
+ if (len > 0) {
+ return TCL_OK;
+ }
}
if (len == 0 || !strncmp(optionName, "-nagle", len)) {
@@ -2211,7 +2213,9 @@ TcpGetOptionProc(instanceData, interp, optionName, dsPtr)
} else {
Tcl_DStringAppendElement(dsPtr, "1");
}
- if (len > 0) return TCL_OK;
+ if (len > 0) {
+ return TCL_OK;
+ }
}
*/
@@ -2692,8 +2696,9 @@ TclpCutSockChannel(chan)
SocketInfo **nextPtrPtr;
int removed = 0;
- if (Tcl_GetChannelType(chan) != &tcpChannelType)
+ if (Tcl_GetChannelType(chan) != &tcpChannelType) {
return;
+ }
/*
* The initializtion of tsdPtr _after_ we have determined that we
@@ -2758,8 +2763,9 @@ TclpSpliceSockChannel(chan)
ThreadSpecificData *tsdPtr;
SocketInfo *infoPtr;
- if (Tcl_GetChannelType(chan) != &tcpChannelType)
+ if (Tcl_GetChannelType(chan) != &tcpChannelType) {
return;
+ }
/*
* Ensure that socket subsystem is initialized in this thread, or