diff options
author | dkf <donal.k.fellows@manchester.ac.uk> | 2004-10-06 13:47:34 (GMT) |
---|---|---|
committer | dkf <donal.k.fellows@manchester.ac.uk> | 2004-10-06 13:47:34 (GMT) |
commit | 65897410ae420c2548d2933582c74d6417658bb3 (patch) | |
tree | d484fafd69a9eba7abad2b97f3b82ac619595019 /generic/tclIOGT.c | |
parent | cf6e5c50c551e431338c46ebd6077bef93ea866e (diff) | |
download | tcl-65897410ae420c2548d2933582c74d6417658bb3.zip tcl-65897410ae420c2548d2933582c74d6417658bb3.tar.gz tcl-65897410ae420c2548d2933582c74d6417658bb3.tar.bz2 |
Braces round if bodies...
Diffstat (limited to 'generic/tclIOGT.c')
-rw-r--r-- | generic/tclIOGT.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/generic/tclIOGT.c b/generic/tclIOGT.c index 052d076..22e5362 100644 --- a/generic/tclIOGT.c +++ b/generic/tclIOGT.c @@ -10,7 +10,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * CVS: $Id: tclIOGT.c,v 1.9 2004/09/10 19:54:06 andreas_kupries Exp $ + * CVS: $Id: tclIOGT.c,v 1.10 2004/10/06 13:47:34 dkf Exp $ */ #include "tclInt.h" @@ -409,9 +409,9 @@ ExecuteCallback (dataPtr, interp, op, buf, bufLen, transmit, preserve) } res = Tcl_ListObjAppendElement(dataPtr->interp, command, temp); - - if (res != TCL_OK) + if (res != TCL_OK) { goto cleanup; + } /* * Use a byte-array to prevent the misinterpretation of binary data @@ -427,9 +427,9 @@ ExecuteCallback (dataPtr, interp, op, buf, bufLen, transmit, preserve) } res = Tcl_ListObjAppendElement (dataPtr->interp, command, temp); - - if (res != TCL_OK) + if (res != TCL_OK) { goto cleanup; + } /* * Step 2, execute the command at the global level of the interpreter |