mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-31 00:30:53 +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
|
@ -1,3 +1,8 @@
|
||||||
|
2010-09-30 Richard Frith-Macdonald <rfm@gnu.org>
|
||||||
|
|
||||||
|
* Source/Additions/GSMime.m: restore standardisation of header name
|
||||||
|
lost in last optimisation. Fixes bug #31166
|
||||||
|
|
||||||
2010-09-28 Eric Wasylishen <ewasylishen@gmail.com>
|
2010-09-28 Eric Wasylishen <ewasylishen@gmail.com>
|
||||||
|
|
||||||
* Source/objc-load.m: Don't include objc-list with libobjc2
|
* Source/objc-load.m: Don't include objc-list with libobjc2
|
||||||
|
|
|
@ -5205,9 +5205,12 @@ appendString(NSMutableData *m, NSUInteger offset, NSUInteger fold,
|
||||||
if (count > 0)
|
if (count > 0)
|
||||||
{
|
{
|
||||||
NSUInteger index;
|
NSUInteger index;
|
||||||
IMP imp1 = [headers methodForSelector: @selector(objectAtIndex:)];
|
IMP imp1;
|
||||||
IMP imp2 = [name methodForSelector: @selector(isEqualToString:)];
|
IMP imp2;
|
||||||
|
|
||||||
|
name = [GSMimeHeader makeToken: name preservingCase: NO];
|
||||||
|
imp1 = [headers methodForSelector: @selector(objectAtIndex:)];
|
||||||
|
imp2 = [name methodForSelector: @selector(isEqualToString:)];
|
||||||
for (index = 0; index < count; index++)
|
for (index = 0; index < count; index++)
|
||||||
{
|
{
|
||||||
GSMimeHeader *info;
|
GSMimeHeader *info;
|
||||||
|
@ -5230,15 +5233,17 @@ appendString(NSMutableData *m, NSUInteger offset, NSUInteger fold,
|
||||||
{
|
{
|
||||||
NSUInteger count;
|
NSUInteger count;
|
||||||
|
|
||||||
name = [GSMimeHeader makeToken: name];
|
name = [GSMimeHeader makeToken: name preservingCase: NO];
|
||||||
count = [headers count];
|
count = [headers count];
|
||||||
if (count > 0)
|
if (count > 0)
|
||||||
{
|
{
|
||||||
NSUInteger index;
|
NSUInteger index;
|
||||||
NSMutableArray *array;
|
NSMutableArray *array;
|
||||||
IMP imp1 = [headers methodForSelector: @selector(objectAtIndex:)];
|
IMP imp1;
|
||||||
IMP imp2 = [name methodForSelector: @selector(isEqualToString:)];
|
IMP imp2;
|
||||||
|
|
||||||
|
imp1 = [headers methodForSelector: @selector(objectAtIndex:)];
|
||||||
|
imp2 = [name methodForSelector: @selector(isEqualToString:)];
|
||||||
array = [NSMutableArray array];
|
array = [NSMutableArray array];
|
||||||
|
|
||||||
for (index = 0; index < count; index++)
|
for (index = 0; index < count; index++)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue