rebase and fix comments made by extrafu

This commit is contained in:
Alexandre Cloutier
2014-04-09 10:48:47 -04:00
parent 5c13fade22
commit 068eb921aa
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -755,7 +755,7 @@ static NSString *sieveScriptName = @"sogo";
return nil;
}
return client;
return [client autorelease];
}
+2 -2
View File
@@ -1219,12 +1219,12 @@ static NSArray *reminderValues = nil;
SOGoMailAccounts *folder;
SOGoSieveManager *manager;
if (client == nil)
if (!client)
{
folder = [[self clientObject] mailAccountsFolder: @"Mail" inContext: context];
account = [folder lookupName: @"0" inContext: context acquire: NO];
manager = [SOGoSieveManager sieveManagerForUser: [context activeUser]];
client = [manager clientForAccount: account];
client = [[manager clientForAccount: account] retain];
}
return client;