Changeset 3420

Show
Ignore:
Timestamp:
07/08/08 12:15:26 (2 months ago)
Author:
dgollub
Message:

Do assert() before osync_trace() to "avoid" derference of NULL in
osync_trace() statement.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/opensync/plugin/opensync_sink.c

    r3319 r3420  
    765765void osync_objtype_sink_set_slowsync(OSyncObjTypeSink *sink, osync_bool slowsync) 
    766766{ 
     767        osync_assert(sink); 
    767768        osync_trace(TRACE_INTERNAL, "%s: Setting slow-sync of object type \"%s\" to %i", __func__, sink->objtype, slowsync); 
    768         osync_assert(sink); 
    769769        sink->slowsync = slowsync; 
    770770}