nemomobile/buteo-sync-plugins — pull request #24 by blammit (2014-01-30 06:48:35+00:00)
Title: [buteo-syncml-plugins] Don't duplicate modified contact ids.

Before aIdList is populated with the modified contact ids, the list
must be cleared, else it will contain both the existing ids and the
newly added ids.

This patch allows fast syncs with modified contacts to be performed
successfully. Otherwise, this operation currently results in an error
because the number of returned contacts is always double the requested
amount, which causes SyncItemPrefetcher::prefetch() to cancel its
fetch operation.