Ticket #923: xmlformat-demarshal-sorted.patch
| File xmlformat-demarshal-sorted.patch, 597 bytes (added by gebart, 3 years ago) |
|---|
-
formats/xmlformat.c
diff -rNbU 4 libopensync-0.38/formats/xmlformat.c libopensync-0.38-kim/formats/xmlformat.c
old new 108 108 osync_trace(TRACE_ERROR, "%s: %s", __func__, osync_error_print(error)); 109 109 return FALSE; 110 110 } 111 111 112 // Ugly fix for sorted xmlformat data passed in messages but forgetting that it's been sorted already 113 osync_xmlformat_sort(xmlformat); 114 112 115 g_free(buffer); 113 116 114 117 *output = (char*)xmlformat; 115 118 *outpsize = osync_xmlformat_size();
