summaryrefslogtreecommitdiffstats
path: root/deskutils/multisync/files/patch-src-syncengine.c
diff options
context:
space:
mode:
Diffstat (limited to 'deskutils/multisync/files/patch-src-syncengine.c')
-rw-r--r--deskutils/multisync/files/patch-src-syncengine.c27
1 files changed, 27 insertions, 0 deletions
diff --git a/deskutils/multisync/files/patch-src-syncengine.c b/deskutils/multisync/files/patch-src-syncengine.c
new file mode 100644
index 000000000..9580f62a9
--- /dev/null
+++ b/deskutils/multisync/files/patch-src-syncengine.c
@@ -0,0 +1,27 @@
+--- src/syncengine.c.orig Mon Apr 12 14:23:21 2004
++++ src/syncengine.c Sat Sep 11 22:53:29 2004
+@@ -1097,6 +1097,7 @@
+ for (n = 0; n < g_list_length(remotechanges); n++) {
+ changed_object *robj, *lobj;
+ char *luid, *uid;
++ sync_compare_result compare;
+
+ robj = g_list_nth_data(remotechanges, n);
+ lobj = g_list_nth_data(localchanges, t);
+@@ -1135,7 +1136,7 @@
+ if (!uid) {*/
+ // None of the two objects has a UID connection
+ // If they are equal, just connect them
+- sync_compare_result compare =
++ compare =
+ sync_compare_objects(robj->comp, lobj->comp, lobj->object_type);
+ if (compare == SYNC_COMPARE_EQUAL) {
+ sync_insert_idpair(lobj->uid, robj->uid,
+@@ -1714,6 +1715,7 @@
+ plugin = g_malloc0(sizeof(sync_plugin));
+ g_assert(plugin);
+ plugin->plugin = mod;
++ dlerror(); /* Clear previous errors */
+ plugin->shortname = CALL_PLUGIN(plugin, "short_name", ());
+ ptr=dlerror();
+ if (ptr != 0) {