On Mi, 2011-06-22 at 12:31 +0100, tchak adim wrote: > Hi all > > is there any risk that the souces (addressbook , calendar ...) can be > inserted several time in the sourceList , i mean in preparesync() ? > is there any protection to don't have the same source more than one > time in sourceList?
I can't think of a situation where that could happen. SyncContext::initSources() fills the SourceList instance, and it does that by iterating over the configured sources once. Are you seeing problems like that? Admittedly the split of responsibility between SyncContext and SourceList is very muddy. This stems from a time when the Funambol C++ client library API needed an array of SyncSource pointers. That need is long gone, but the SourceList class remained. -- Best Regards, Patrick Ohly The content of this message is my personal opinion only and although I am an employee of Intel, the statements I make here in no way represent Intel's position on the issue, nor am I authorized to speak on behalf of Intel on this matter. _______________________________________________ SyncEvolution mailing list [email protected] http://lists.syncevolution.org/listinfo/syncevolution
