rendered paste bodyIndex: src/palm_contact.c
===================================================================
--- src/palm_contact.c (revision 2921)
+++ src/palm_contact.c (working copy)
@@ -40,6 +40,7 @@
goto error_free_change;
osync_change_set_data(change, data);
+ osync_change_set_changetype(change, OSYNC_CHANGE_TYPE_ADDED);
char *uid = g_strdup_printf("uid-AddressDB-%ld", entry->id);
osync_change_set_uid(change, uid);
@@ -117,7 +118,6 @@
if (osync_change_get_data(change) == NULL)
continue;
- osync_change_set_changetype(change, OSYNC_CHANGE_TYPE_ADDED);
osync_context_report_change(ctx, change);
}
} else {
@@ -249,6 +249,7 @@
entry->size = pack_Address(&(contact->address), entry->buffer, 0xffff);
#else
entry->buffer = pi_buffer_new(65536);
+ osync_trace(TRACE_INTERNAL, "contact: %p address: %p", contact, &(contact->address));
entry->size = pack_Address(&(contact->address), entry->buffer, address_v1);
#endif