Changeset 3323

Show
Ignore:
Timestamp:
05/04/08 22:50:29 (5 months ago)
Author:
dgollub
Message:

Fix build of mock_sync to latest changes on OpenSync? API with
OSyncObjFormatSink.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/tests/mock-plugin/mock_sync.c

    r3305 r3323  
    686686                osync_assert(osync_hashtable_load(dir->hashtable, error)); 
    687687 
    688                 osync_objtype_sink_add_objformat(sink, osync_objformat_get_name(dir->objformat)); 
     688                const char *objformat = osync_objformat_get_name(dir->objformat);  
     689                OSyncObjFormatSink *format_sink = osync_objformat_sink_new(objformat, error); 
     690                if (!format_sink) 
     691                        return NULL; 
     692 
     693                osync_objtype_sink_add_objformat_sink(sink, format_sink); 
    689694                 
    690695                /* All sinks have the same functions of course */