mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-23 09:04:13 +00:00
Make mime generation slightly more tolerant.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21738 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
d41d6a7d6d
commit
b6adfd8cf9
2 changed files with 9 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
2005-09-23 Richard Frith-Macdonald <rfm@gnu.org>
|
||||
|
||||
* Source/Additions/GSMime.m: (-rawMimeData) tolerate nil content of
|
||||
document ... should produce output with empty body.
|
||||
|
||||
2005-09-18 Adam Fedor <fedor@gnu.org>
|
||||
|
||||
* Version 1.11.1
|
||||
|
|
|
@ -4583,6 +4583,10 @@ static NSCharacterSet *tokenSet = nil;
|
|||
type: @"application/octet-stream"
|
||||
name: nil];
|
||||
}
|
||||
else if (content == nil)
|
||||
{
|
||||
[self setContent: @"" type: @"text/plain" name: nil];
|
||||
}
|
||||
else
|
||||
{
|
||||
[NSException raise: NSInternalInconsistencyException
|
||||
|
|
Loading…
Reference in a new issue