summaryrefslogtreecommitdiffstats
path: root/generic/tclZlib.c
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2011-08-05 00:00:15 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2011-08-05 00:00:15 (GMT)
commit27cf4017e30afe9866fbdc278a5dba08589adb95 (patch)
treed7f4a5cbd6bb2fc45a9d2506c6bd18c3a3bbd2a0 /generic/tclZlib.c
parente0713803b9a45bdf621eb627e90a8c8a867f67c6 (diff)
downloadtcl-27cf4017e30afe9866fbdc278a5dba08589adb95.zip
tcl-27cf4017e30afe9866fbdc278a5dba08589adb95.tar.gz
tcl-27cf4017e30afe9866fbdc278a5dba08589adb95.tar.bz2
[Bug 3386197]: Fix buffer direction botch. Damn you, confusing terminology!
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 80431a3..922ec18 100644
--- a/generic/tclZlib.c
+++ b/generic/tclZlib.c
@@ -2295,9 +2295,9 @@ ZlibTransformClose(
}
}
} while (e != Z_STREAM_END);
- e = deflateEnd(&cd->inStream);
+ e = deflateEnd(&cd->outStream);
} else {
- e = inflateEnd(&cd->outStream);
+ e = inflateEnd(&cd->inStream);
}
/*