Monotone-Parent: 1ade254d62fcb6133186bc9896363a6fa7dc5f90

Monotone-Revision: 006f65029068e73f339a0342b4050f3ccee0b122

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2008-09-11T21:59:31
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Wolfgang Sourdeau
2008-09-11 21:59:31 +00:00
parent 3273f859c4
commit ff32c3a085

View File

@@ -179,7 +179,8 @@ static NSArray *headers = nil;
- (NSArray *) addressLists
{
NSMutableArray *ma;
NSArray *tmp;
ma = [NSMutableArray arrayWithCapacity:3];
if ([to isNotNull] && [to count] > 0)
[ma addObject: to];
@@ -191,9 +192,9 @@ static NSArray *headers = nil;
/* ensure that at least one object is available */
if ([ma count] == 0)
{
NSArray *tmp = [NSArray arrayWithObject:@""];
tmp = [NSArray arrayWithObject: @""];
ASSIGN (to, tmp);
[ma addObject:to];
[ma addObject: to];
}
return ma;