mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 00:11:26 +00:00
bugfix
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@31445 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
d431109112
commit
cc451397a4
2 changed files with 15 additions and 5 deletions
|
@ -5205,9 +5205,12 @@ appendString(NSMutableData *m, NSUInteger offset, NSUInteger fold,
|
|||
if (count > 0)
|
||||
{
|
||||
NSUInteger index;
|
||||
IMP imp1 = [headers methodForSelector: @selector(objectAtIndex:)];
|
||||
IMP imp2 = [name methodForSelector: @selector(isEqualToString:)];
|
||||
IMP imp1;
|
||||
IMP imp2;
|
||||
|
||||
name = [GSMimeHeader makeToken: name preservingCase: NO];
|
||||
imp1 = [headers methodForSelector: @selector(objectAtIndex:)];
|
||||
imp2 = [name methodForSelector: @selector(isEqualToString:)];
|
||||
for (index = 0; index < count; index++)
|
||||
{
|
||||
GSMimeHeader *info;
|
||||
|
@ -5230,15 +5233,17 @@ appendString(NSMutableData *m, NSUInteger offset, NSUInteger fold,
|
|||
{
|
||||
NSUInteger count;
|
||||
|
||||
name = [GSMimeHeader makeToken: name];
|
||||
name = [GSMimeHeader makeToken: name preservingCase: NO];
|
||||
count = [headers count];
|
||||
if (count > 0)
|
||||
{
|
||||
NSUInteger index;
|
||||
NSMutableArray *array;
|
||||
IMP imp1 = [headers methodForSelector: @selector(objectAtIndex:)];
|
||||
IMP imp2 = [name methodForSelector: @selector(isEqualToString:)];
|
||||
IMP imp1;
|
||||
IMP imp2;
|
||||
|
||||
imp1 = [headers methodForSelector: @selector(objectAtIndex:)];
|
||||
imp2 = [name methodForSelector: @selector(isEqualToString:)];
|
||||
array = [NSMutableArray array];
|
||||
|
||||
for (index = 0; index < count; index++)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue