fixup for parsing nested http documents

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@37056 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
rfm 2013-09-09 09:40:03 +00:00
parent d21429e189
commit d606538c6f
2 changed files with 10 additions and 1 deletions

View file

@ -2370,10 +2370,14 @@ NSDebugMLLog(@"GSMime", @"Header parsed - %@", info);
{
DESTROY(child);
child = [GSMimeParser new];
if (flags.buggyQuotes == 1)
if (1 == flags.buggyQuotes)
{
[child setBuggyQuotes: YES];
}
if (1 == flags.isHttp)
{
[child setIsHttp];
}
/*
* Tell child parser the default encoding to use.
*/