mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-03-21 22:32:45 +00:00
Monotone-Parent: 3ee72d61be422ae0de673c44599a3d6c279962a8
Monotone-Revision: 6d14fa17601563041dc59c292979e3fd45726a47 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2008-09-19T14:03:56 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -231,7 +231,7 @@ static BOOL debugSoParts = NO;
|
||||
id msgs;
|
||||
|
||||
if (!coreInfos)
|
||||
{
|
||||
{
|
||||
msgs = [self fetchParts: coreInfoKeys]; // returns dict
|
||||
if (heavyDebug)
|
||||
[self logWithFormat: @"M: %@", msgs];
|
||||
@@ -990,7 +990,7 @@ static BOOL debugSoParts = NO;
|
||||
|
||||
// TODO: check for safe HTTP method
|
||||
|
||||
trashFolder = [[self mailAccountFolder] trashFolderInContext:_ctx];
|
||||
trashFolder = [[self mailAccountFolder] trashFolderInContext: _ctx];
|
||||
if ([trashFolder isKindOfClass:[NSException class]])
|
||||
return (NSException *)trashFolder;
|
||||
if (![trashFolder isNotNull]) {
|
||||
@@ -1004,17 +1004,17 @@ static BOOL debugSoParts = NO;
|
||||
error = [self davCopyToTargetObject:trashFolder
|
||||
newName: @"fakeNewUnusedByIMAP4" /* autoassigned */
|
||||
inContext:_ctx];
|
||||
if (error != nil) return error;
|
||||
if (error) return error;
|
||||
|
||||
/* b) mark deleted */
|
||||
|
||||
error = [[self imap4Connection] markURLDeleted: [self imap4URL]];
|
||||
if (error != nil) return error;
|
||||
if (error) return error;
|
||||
|
||||
[container markForExpunge];
|
||||
|
||||
[self flushMailCaches];
|
||||
|
||||
|
||||
return nil;
|
||||
}
|
||||
|
||||
|
||||
@@ -549,15 +549,9 @@ static int sizeLimit;
|
||||
entries = nil;
|
||||
|
||||
if (entries)
|
||||
{
|
||||
currentEntry = [entries nextObject];
|
||||
while (currentEntry)
|
||||
{
|
||||
[contacts addObject:
|
||||
[self _convertLDAPEntryToContact: currentEntry]];
|
||||
currentEntry = [entries nextObject];
|
||||
}
|
||||
}
|
||||
while ((currentEntry = [entries nextObject]))
|
||||
[contacts addObject:
|
||||
[self _convertLDAPEntryToContact: currentEntry]];
|
||||
|
||||
[ldapConnection release];
|
||||
}
|
||||
|
||||
@@ -132,7 +132,7 @@
|
||||
[response appendContentString: @"Missing 'name' parameter."];
|
||||
}
|
||||
|
||||
return response;
|
||||
return response;
|
||||
}
|
||||
|
||||
- (NSURL *) _trashedURLOfFolder: (NSURL *) srcURL
|
||||
|
||||
Reference in New Issue
Block a user