1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-08-13 17:03:48 -04:00

Don't count on skip() to actually skip as many bytes as requested.

This commit is contained in:
cketti 2011-01-11 03:27:58 +00:00
parent 11947cb994
commit d403e36f06

View File

@ -342,7 +342,10 @@ public class ImapResponseParser
if ((available > 0) && (available != size))
{
// If so, skip the rest
fixed.skip(fixed.available());
while (fixed.available() > 0)
{
fixed.skip(fixed.available());
}
}
if (result != null)