From: <svn...@op...> - 2009-10-18 10:30:45
|
Author: bellmich Date: Sun Oct 18 12:30:32 2009 New Revision: 1347 URL: http://libsyncml.opensync.org/changeset/1347 Log: fixed slow sync behaviour to recover a mobile Modified: trunk/tools/syncml-ds-tool.c Modified: trunk/tools/syncml-ds-tool.c ============================================================================== --- trunk/tools/syncml-ds-tool.c Sun Oct 18 12:29:40 2009 (r1346) +++ trunk/tools/syncml-ds-tool.c Sun Oct 18 12:30:32 2009 (r1347) @@ -1053,7 +1053,7 @@ /* fix indexes */ SmlChangeType changeType = SML_CHANGE_UNKNOWN; - if (original) + if (!datastore->slow && original) { /* potentially changed item */ if (strcmp(digest, original)) @@ -1121,7 +1121,7 @@ if (*error) goto error; gsize i = 0; - for (; i < count; i++) + for (; !datastore->slow && i < count; i++) { printf("\tItem %s was locally deleted.\n", keys[i]); |