Various fixes

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@5594 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
richard 1999-12-21 14:39:56 +00:00
parent d506bff8e8
commit e1792e565d
5 changed files with 39 additions and 16 deletions

View file

@ -520,7 +520,7 @@ static id parsePlItem(pldata* pld)
byte |= char2num(pld->ptr[pld->pos]);
pld->pos++;
buf[len++] = byte;
if (len > sizeof(buf))
if (len == sizeof(buf))
{
[data appendBytes: buf length: len];
len = 0;