Ticket #923: xmlformat.c.diff

File xmlformat.c.diff, 613 bytes (added by scriptor, 3 years ago)
  • xmlformat.c

    old new osync_bool copy_xmlformat(const char *in 
    6363                return FALSE; 
    6464        } 
    6565 
     66        osync_xmlformat_sort(xmlformat);         
     67 
    6668        *output = (char *) xmlformat; 
    6769        *outpsize = osync_xmlformat_size(); 
    6870 
    static time_t get_revision(const char *d 
    269271 
    270272        osync_trace(TRACE_ENTRY, "%s(%p, %i)", __func__, data, size, error); 
    271273 
     274        osync_xmlformat_sort((OSyncXMLFormat *)data);    
     275 
    272276        fieldlist = osync_xmlformat_search_field((OSyncXMLFormat *)data, attribute, error, NULL); 
    273277        if (!fieldlist) 
    274278                goto error;