mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-23 09:04:13 +00:00
revert last change.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@23309 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
6c8168f8b6
commit
b7812f2891
1 changed files with 2 additions and 4 deletions
|
@ -2229,8 +2229,7 @@ NSDebugMLLog(@"GSMime", @"Header parsed - %@", info);
|
|||
s = [s initWithBytes: beg
|
||||
length: dst - beg
|
||||
encoding: NSASCIIStringEncoding];
|
||||
if (s == nil && flags.isHttp == 1
|
||||
&& _defaultEncoding != NSASCIIStringEncoding)
|
||||
if (s == nil && _defaultEncoding != NSASCIIStringEncoding)
|
||||
{
|
||||
s = [NSStringClass allocWithZone: NSDefaultMallocZone()];
|
||||
s = [s initWithBytes: beg
|
||||
|
@ -2342,8 +2341,7 @@ NSDebugMLLog(@"GSMime", @"Header parsed - %@", info);
|
|||
s = [s initWithBytes: beg
|
||||
length: dst - beg
|
||||
encoding: NSASCIIStringEncoding];
|
||||
if (s == nil && flags.isHttp == 1
|
||||
&& _defaultEncoding != NSASCIIStringEncoding)
|
||||
if (s == nil && _defaultEncoding != NSASCIIStringEncoding)
|
||||
{
|
||||
s = [NSStringClass allocWithZone: NSDefaultMallocZone()];
|
||||
s = [s initWithBytes: beg
|
||||
|
|
Loading…
Reference in a new issue