diff options
author | dkf <dkf@noemail.net> | 2010-02-24 10:45:04 (GMT) |
---|---|---|
committer | dkf <dkf@noemail.net> | 2010-02-24 10:45:04 (GMT) |
commit | 55218895cf223746f44b0965cd66871be282f53a (patch) | |
tree | 484964998d32be03482d6e1078a27f1f3187f409 /generic/tclZlib.c | |
parent | 9922e22153f7a4a4b4b4c13a2a6d4886fbf6c48a (diff) | |
download | tcl-55218895cf223746f44b0965cd66871be282f53a.zip tcl-55218895cf223746f44b0965cd66871be282f53a.tar.gz tcl-55218895cf223746f44b0965cd66871be282f53a.tar.bz2 |
More tidying up (whitespace, spelling, useless parentheses, useless casts)
FossilOrigin-Name: 511d94dd873e4ace6252b896eeb821f03023f00f
Diffstat (limited to 'generic/tclZlib.c')
-rw-r--r-- | generic/tclZlib.c | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/generic/tclZlib.c b/generic/tclZlib.c index 14212ef..21d9a82 100644 --- a/generic/tclZlib.c +++ b/generic/tclZlib.c @@ -13,19 +13,21 @@ * See the file "license.terms" for information on usage and redistribution of * this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclZlib.c,v 1.34 2010/02/22 23:54:24 andreas_kupries Exp $ + * RCS: @(#) $Id: tclZlib.c,v 1.35 2010/02/24 10:45:04 dkf Exp $ */ #include "tclInt.h" #ifdef HAVE_ZLIB #ifdef _WIN32 # ifndef STATIC_BUILD -/* HACK needed for zlib1.dll version 1.2.3 on Win32. See comment below. - * As soon as zlib 1.2.4 is reasonable mainstream, remove this hack! */ -# include "../compat/zlib/zutil.h" -# include "../compat/zlib/inftrees.h" -# include "../compat/zlib/deflate.h" -# include "../compat/zlib/inflate.h" +/* + * HACK needed for zlib1.dll version 1.2.3 on Win32. See comment below. As + * soon as zlib 1.2.4 is reasonable mainstream, remove this hack! + */ +# include "../compat/zlib/zutil.h" +# include "../compat/zlib/inftrees.h" +# include "../compat/zlib/deflate.h" +# include "../compat/zlib/inflate.h" # endif /* !STATIC_BUILD */ #endif /* _WIN32 */ #include <zlib.h> @@ -2664,7 +2666,8 @@ ZlibTransformWatch( watchProc = Tcl_ChannelWatchProc(Tcl_GetChannelType(cd->parent)); watchProc(Tcl_GetChannelInstanceData(cd->parent), mask); - if (!(mask & TCL_READABLE) || (cd->inStream.avail_in==(uInt)cd->inAllocated)) { + if (!(mask & TCL_READABLE) + || (cd->inStream.avail_in == (uInt) cd->inAllocated)) { ZlibTransformTimerKill(cd); } else { ZlibTransformTimerSetup(cd); |