mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-22 16:33:29 +00:00
Quit bad header initialisation.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@15174 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
449471de04
commit
2203cb787e
1 changed files with 1 additions and 0 deletions
|
@ -4178,6 +4178,7 @@ static NSCharacterSet *tokenSet = nil;
|
|||
NSScanner *scanner = [NSScanner scannerWithString: type];
|
||||
|
||||
hdr = AUTORELEASE([GSMimeHeader new]);
|
||||
[hdr setName: @"content-type"];
|
||||
if ([p scanHeaderBody: scanner into: hdr] == NO)
|
||||
{
|
||||
[NSException raise: NSInvalidArgumentException
|
||||
|
|
Loading…
Reference in a new issue