Changeset 3549
- Timestamp:
- 08/17/08 21:02:51 (4 months ago)
- Files:
-
- 1 modified
-
trunk/opensync/format/opensync_converter.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/opensync/format/opensync_converter.c
r3532 r3549 46 46 { 47 47 OSyncFormatConverter *converter = NULL; 48 osync_trace(TRACE_ENTRY, "%s(%i, %s %p, %s %p, %p, %p)", __func__, type, osync_objformat_get_name(sourceformat), sourceformat, osync_objformat_get_name(targetformat), targetformat, convert_func, error);48 osync_trace(TRACE_ENTRY, "%s(%i, %s %p, %s %p, %p, %p)", __func__, type, __NULLSTR(osync_objformat_get_name(sourceformat)), sourceformat, __NULLSTR(osync_objformat_get_name(targetformat)), targetformat, convert_func, error); 49 49 50 50 converter = osync_try_malloc0(sizeof(OSyncFormatConverter), error); … … 233 233 osync_bool free_input = FALSE; 234 234 235 osync_trace(TRACE_ENTRY, "%s(%p, %p, %s, %p)", __func__, converter, data, config, error);235 osync_trace(TRACE_ENTRY, "%s(%p, %p, %s, %p)", __func__, converter, data, __NULLSTR(config), error); 236 236 osync_trace(TRACE_INTERNAL, "Converter of type %i, from %p(%s) to %p(%s)", converter->type, converter->source_format, osync_objformat_get_name(converter->source_format), converter->target_format, osync_objformat_get_name(converter->target_format)); 237 237 … … 345 345 osync_assert(path); 346 346 osync_assert(edge); 347 347 348 path->converters = g_list_append(path->converters, edge); 348 349 osync_converter_ref(edge); … … 387 388 { 388 389 osync_assert(path); 390 osync_assert(config); 391 389 392 if (path->config) 390 393 g_free(path->config); 394 391 395 path->config = g_strdup(config); 392 396 }
