mirror of
https://github.com/moparisthebest/k-9
synced 2025-02-25 15:11:52 -05:00
Don't count on skip() to actually skip as many bytes as requested.
This commit is contained in:
parent
11947cb994
commit
d403e36f06
@ -342,8 +342,11 @@ public class ImapResponseParser
|
|||||||
if ((available > 0) && (available != size))
|
if ((available > 0) && (available != size))
|
||||||
{
|
{
|
||||||
// If so, skip the rest
|
// If so, skip the rest
|
||||||
|
while (fixed.available() > 0)
|
||||||
|
{
|
||||||
fixed.skip(fixed.available());
|
fixed.skip(fixed.available());
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if (result != null)
|
if (result != null)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user