From: <svn...@op...> - 2009-09-04 12:53:06
|
Author: dgollub Date: Fri Sep 4 14:52:50 2009 New Revision: 5738 URL: http://www.opensync.org/changeset/5738 Log: Port example format plugin. Got broken with r5671 Modified: trunk/docs/examples/plugins/src/format.c Modified: trunk/docs/examples/plugins/src/format.c ============================================================================== --- trunk/docs/examples/plugins/src/format.c Fri Sep 4 14:01:44 2009 (r5737) +++ trunk/docs/examples/plugins/src/format.c Fri Sep 4 14:52:50 2009 (r5738) @@ -222,7 +222,7 @@ osync_converter_set_initialize_func(conv, initialize_converter); osync_converter_set_finalize_func(conv, finalize_converter); /* register converter */ - osync_format_env_register_converter(env, conv); + osync_format_env_register_converter(env, conv, error); osync_converter_unref(conv); conv = osync_converter_new(OSYNC_CONVERTER_CONV, format2, format1, conv_format2_to_format1, error); @@ -230,7 +230,7 @@ return FALSE; /* e.g. this converter doesn't need init and finalize functions therefore don't set them */ /* register converter */ - osync_format_env_register_converter(env, conv); + osync_format_env_register_converter(env, conv, error); osync_converter_unref(conv); return TRUE; } |