(fix) avoid crash when replying to a mail with no recipients (#3359)

This commit is contained in:
Ludovic Marcotte committed 2015-10-23 12:45:28 -04:00
1 parent 907c30061f
commit a55d5c95b5
2 files changed
+3 -1

No files matched your search

+2 -1
View File
@@ -700,7 +700,8 @@ static NSString *userAgent = nil;
for (count = max - 1; count >= 0; count--)
{
currentAddress = [addresses objectAtIndex: count];
if ([currentRecipient
if (![currentAddress baseEMail] ||
[currentRecipient
caseInsensitiveCompare: [currentAddress baseEMail]]
== NSOrderedSame)
{