mirror of
https://github.com/moparisthebest/davmail
synced 2024-12-04 14:52:24 -05:00
Fix AbstractConnection.readContent, see https://sourceforge.net/p/davmail/bugs/538/
git-svn-id: http://svn.code.sf.net/p/davmail/code/trunk@2176 3d1905a2-6b24-0410-a738-b14d5a86fcbd
This commit is contained in:
parent
8d961cda0a
commit
bb70c7f092
@ -99,7 +99,7 @@ public class AbstractConnection extends Thread {
|
||||
int startIndex = 0;
|
||||
int count = 0;
|
||||
while (count >= 0 && startIndex < byteSize) {
|
||||
count = in.read(buffer, startIndex, byteSize - startIndex);
|
||||
count = read(buffer, startIndex, byteSize - startIndex);
|
||||
startIndex += count;
|
||||
}
|
||||
if (startIndex < byteSize) {
|
||||
|
Loading…
Reference in New Issue
Block a user