more informative logging

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@36590 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
rfm 2013-05-01 10:11:07 +00:00
parent 80bea3c5e2
commit f858600b25

View file

@ -2943,7 +2943,8 @@ unfold(const unsigned char *src, const unsigned char *end, BOOL *folded)
}
if (nil == s)
{
NSLog(@"Bad header ... illegal characters");
NSLog(@"Bad header ... illegal characters in %@",
[NSData dataWithBytes: beg length: src - beg]);
flags.hadErrors = 1;
return nil;
}