From: Piers Lauder Date: Thu, 20 May 2004 11:32:35 +0000 (+0000) Subject: Fixed IMAP4_SSL read bug introduced by patch 956394 X-Git-Tag: v2.4a1~355 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c1e32b651896e24877e0e601fd7eb6215dbb916d;p=thirdparty%2FPython%2Fcpython.git Fixed IMAP4_SSL read bug introduced by patch 956394 --- diff --git a/Lib/imaplib.py b/Lib/imaplib.py index 96fdf834bf66..3dd7e0703409 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)