mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +00:00
Fixed IMAP4_SSL read bug introduced by patch 956394
This commit is contained in:
parent
8f2b24401e
commit
c1e32b6518
1 changed files with 1 additions and 1 deletions
|
@ -1105,7 +1105,7 @@ class IMAP4_SSL(IMAP4):
|
||||||
while read < size:
|
while read < size:
|
||||||
data = self.sslobj.read(size-read)
|
data = self.sslobj.read(size-read)
|
||||||
read += len(data)
|
read += len(data)
|
||||||
chunks.append(size)
|
chunks.append(data)
|
||||||
|
|
||||||
return ''.join(chunks)
|
return ''.join(chunks)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue