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
master
mguessan 10 years ago
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…
Cancel
Save