From: <svn...@op...> - 2009-03-30 03:47:42
|
Author: dgollub Date: Mon Mar 30 05:47:30 2009 New Revision: 5450 URL: http://www.opensync.org/changeset/5450 Log: Port ldap-sync to slow-sync API change ref #1085 Modified: plugins/ldap-sync/src/ldap_plugin.c Modified: plugins/ldap-sync/src/ldap_plugin.c ============================================================================== --- plugins/ldap-sync/src/ldap_plugin.c Mon Mar 30 05:28:31 2009 (r5449) +++ plugins/ldap-sync/src/ldap_plugin.c Mon Mar 30 05:47:30 2009 (r5450) @@ -450,7 +450,7 @@ osync_trace(TRACE_INTERNAL, "%s:%i: Anchor value differs from our own one, therefore setting \"slow-sync\":\n", __FILE__, __LINE__); #ifndef DISABLE_SET_SLOWSYNC - osync_objtype_sink_set_slowsync(sinkenv->sink, TRUE); + osync_context_report_slowsync(ctx); #else ldap_plugin_printf("%s:%i:%s(): Temporarily disabled osync_objtype_sink_set_slowsync() in case of differing anchor values, because I cannot initialize sinkenv->latest_timestamp from the anchordb in ldap_plugin_initialize_sink(): osync_objtype_sink_get_anchor() always returns NULL rather than the anchor object.", __FILE__, __LINE__, __func__); #endif |