From: <dg...@su...> - 2009-01-06 09:06:45
|
Author: bricks Date: Tue Jan 6 10:06:25 2009 New Revision: 5041 URL: http://www.opensync.org/changeset/5041 Log: changed file-sync discovery function parameter list for Ticket #1019 Modified: plugins/file-sync/src/file_sync.c Modified: plugins/file-sync/src/file_sync.c ============================================================================== --- plugins/file-sync/src/file_sync.c Tue Jan 6 09:48:34 2009 (r5040) +++ plugins/file-sync/src/file_sync.c Tue Jan 6 10:06:25 2009 (r5041) @@ -352,7 +352,7 @@ file->size = size; file->path = g_strdup(relative_filename); - OSyncObjFormat *fileformat = osync_format_env_find_objformat(formatenv, "file"); + OSyncObjFormat *fileformat = osync_format_env_find_objformat(formatenv, "file"); odata = osync_data_new((char *)file, sizeof(OSyncFileFormat), fileformat, &error); if (!odata) { @@ -422,7 +422,7 @@ osync_change_set_uid(change, uid); osync_change_set_changetype(change, OSYNC_CHANGE_TYPE_DELETED); - OSyncObjFormat *fileformat = osync_format_env_find_objformat(formatenv, "file"); + OSyncObjFormat *fileformat = osync_format_env_find_objformat(formatenv, "file"); OSyncData *odata = osync_data_new(NULL, 0, fileformat, &error); if (!odata) { @@ -619,7 +619,7 @@ /* Here we actually tell opensync which sinks are available. For this plugin, we * just report all objtype as available. Since the resource are configured like this. */ -static osync_bool osync_filesync_discover(void *data, OSyncPluginInfo *info, OSyncError **error) +static osync_bool osync_filesync_discover(OSyncPluginInfo *info, void *data, OSyncError **error) { osync_trace(TRACE_ENTRY, "%s(%p, %p, %p)", __func__, data, info, error); |