Fix another endless loop in imapparser

Thanks to Francois Andriot for the patch
This resolves Bug 1235
pull/21/head
Slávek Banko 12 years ago
parent 590161fd80
commit 786fea2fe8

@ -94,7 +94,11 @@ public:
}
uint length()
{
return data.size() - pos;
if( pos < data.size() ) {
return data.size() - pos;
} else {
return 0;
}
}
void fromString(const TQString &s)
{

Loading…
Cancel
Save