Changeset 3511
- Timestamp:
- 08/06/08 08:52:04 (4 months ago)
- Files:
-
- 1 modified
-
plugins/file-sync/src/file_sync.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
plugins/file-sync/src/file_sync.c
r3444 r3511 489 489 490 490 const char *objtype = osync_objtype_sink_get_name(dir->sink); 491 OSyncPluginRes source *res = osync_plugin_config_find_active_ressource(config, objtype);492 dir->path = osync_plugin_res source_get_path(res);491 OSyncPluginResource *res = osync_plugin_config_find_active_resource(config, objtype); 492 dir->path = osync_plugin_resource_get_path(res); 493 493 if (!dir->path) { 494 494 osync_error_set(error, OSYNC_ERROR_MISCONFIGURATION, "Path for object type \"%s\" is not configured.", objtype); … … 551 551 552 552 /* Here we actually tell opensync which sinks are available. For this plugin, we 553 * just report all objtype as available. Since the res source are configured like this. */553 * just report all objtype as available. Since the resource are configured like this. */ 554 554 static osync_bool osync_filesync_discover(void *data, OSyncPluginInfo *info, OSyncError **error) 555 555 {
