missed a line

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35827 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
rfm 2012-11-27 16:41:35 +00:00
parent 1e4be4f380
commit 6665580231

View file

@ -3804,7 +3804,7 @@ appendString(NSMutableData *m, NSUInteger offset, NSUInteger fold,
}
offset = appendBytes(md, offset, fold, buf, l);
}
if (offset > fold)
if (fold > 0 && offset > fold)
{
NSLog(@"Name '%@' too long for folding at %"PRIuPTR" in header",
n, fold);