summaryrefslogtreecommitdiffstats
path: root/generic/tclZlib.c
diff options
context:
space:
mode:
authorpatthoyts <patthoyts@noemail.net>2009-07-09 22:48:44 (GMT)
committerpatthoyts <patthoyts@noemail.net>2009-07-09 22:48:44 (GMT)
commit3095d28ac951b4f7f47c1e12166e040531ff09ee (patch)
treeac9009aa90c4913d181a4e791ab11e5aa9ccb656 /generic/tclZlib.c
parenta6c6ad592eaf6725be9d1fc89c70d82b8ecc4036 (diff)
downloadtcl-3095d28ac951b4f7f47c1e12166e040531ff09ee.zip
tcl-3095d28ac951b4f7f47c1e12166e040531ff09ee.tar.gz
tcl-3095d28ac951b4f7f47c1e12166e040531ff09ee.tar.bz2
[Bug #2818131] Added tests and fixed a typo that broke zlib push for deflate format.
FossilOrigin-Name: af721af1edc8a88e589984e0ca260e14028924a8
Diffstat (limited to 'generic/tclZlib.c')
-rw-r--r--generic/tclZlib.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tclZlib.c b/generic/tclZlib.c
index 378c123..96d68c1 100644
--- a/generic/tclZlib.c
+++ b/generic/tclZlib.c
@@ -13,7 +13,7 @@
* 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.28 2009/07/06 21:38:21 patthoyts Exp $
+ * RCS: @(#) $Id: tclZlib.c,v 1.29 2009/07/09 22:48:44 patthoyts Exp $
*/
#include "tclInt.h"
@@ -1940,7 +1940,7 @@ TclZlibCmd(
switch ((enum zlibFormats) format) {
case f_deflate:
mode = TCL_ZLIB_STREAM_DEFLATE;
- format = TCL_ZLIB_FORMAT_GZIP;
+ format = TCL_ZLIB_FORMAT_RAW;
break;
case f_inflate:
mode = TCL_ZLIB_STREAM_INFLATE;