mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-10-07 12:57:14 +00:00
MailDAV Fixes
Monotone-Parent: 43ac2f2aa838034f00194247d4c245926ed738de Monotone-Revision: a133bab8f4c9ee8ea78123618542c4a2ecdc2fd4 Monotone-Author: crobert@inverse.ca Monotone-Date: 2009-10-01T21:55:29 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
1 parent
f1ffcac389
commit
a72a55de90
3 files changed
+6
-8
No files matched your search
@@ -1262,7 +1262,6 @@ static BOOL debugSoParts = NO;
|
||||
reason: @"Can't overwrite messages"];
|
||||
else
|
||||
response = [folder appendMessage: [rq content]
|
||||
inContext: _ctx
|
||||
usingId: &imap4id];
|
||||
}
|
||||
|
||||
@@ -1310,7 +1309,6 @@ static BOOL debugSoParts = NO;
|
||||
|
||||
- (NSString *) _emailAddressesFrom: (NSArray *) enveloppeAddresses
|
||||
{
|
||||
//voir spec
|
||||
NSMutableArray *addresses;
|
||||
NSString *rc;
|
||||
NGImap4EnvelopeAddress *address;
|
||||
@@ -1404,7 +1402,9 @@ static BOOL debugSoParts = NO;
|
||||
range = [value rangeOfString: @"received:"
|
||||
options: NSCaseInsensitiveSearch
|
||||
range: NSMakeRange (10, [value length]-11)];
|
||||
if (range.length)
|
||||
if (range.length
|
||||
&& range.location < [value length]
|
||||
&& range.length < [value length])
|
||||
{
|
||||
// We want to keep the first part
|
||||
range.length = range.location;
|
||||
|
||||
Reference in new issue
Block a user