mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 08:21:25 +00:00
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:
parent
d506bff8e8
commit
e1792e565d
5 changed files with 39 additions and 16 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue