summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorPiers Lauder <piers@cs.su.oz.au>2004-05-20 11:32:35 (GMT)
committerPiers Lauder <piers@cs.su.oz.au>2004-05-20 11:32:35 (GMT)
commitc1e32b651896e24877e0e601fd7eb6215dbb916d (patch)
treec0e738793ca663e6004cf495e0137e709a76a3af /Lib
parent8f2b24401ee92cb90b5a75ef63dedfbfc883c140 (diff)
downloadcpython-c1e32b651896e24877e0e601fd7eb6215dbb916d.zip
cpython-c1e32b651896e24877e0e601fd7eb6215dbb916d.tar.gz
cpython-c1e32b651896e24877e0e601fd7eb6215dbb916d.tar.bz2
Fixed IMAP4_SSL read bug introduced by patch 956394
Diffstat (limited to 'Lib')
-rw-r--r--Lib/imaplib.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/imaplib.py b/Lib/imaplib.py
index 96fdf83..3dd7e07 100644
--- a/Lib/imaplib.py
+++ b/Lib/imaplib.py
@@ -1105,7 +1105,7 @@ class IMAP4_SSL(IMAP4):
while read < size:
data = self.sslobj.read(size-read)
read += len(data)
- chunks.append(size)
+ chunks.append(data)
return ''.join(chunks)