Changeset 3541

Show
Ignore:
Timestamp:
08/16/08 16:17:51 (4 months ago)
Author:
dgollub
Message:

Instrument various places with osync_assert() to hunt spurious entries
without UID.

Location:
trunk/opensync
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • trunk/opensync/engine/opensync_mapping_engine.c

    r3539 r3541  
    705705                                existingChange = existingEntry->change; 
    706706                                osync_change_ref(existingChange); 
     707                                osync_assert(osync_change_get_uid(existingChange)); 
    707708                                break; 
    708709                        } 
     
    713714                 
    714715                        existingChange = osync_change_clone(existingEntry->change, error); 
     716                        osync_assert(osync_change_get_uid(existingChange)); 
    715717                } 
    716718                 
  • trunk/opensync/mapping/opensync_mapping_entry.c

    r2788 r3541  
    111111{ 
    112112        osync_assert(entry); 
     113        osync_assert(uid); 
     114 
    113115        if (entry->uid) 
    114116                g_free(entry->uid);