From: <svn...@op...> - 2009-09-16 22:12:31
|
Author: dgollub Date: Thu Sep 17 00:12:13 2009 New Revision: 5766 URL: http://www.opensync.org/changeset/5766 Log: Adapted to latest API change of osync_plugin_config_load_file() by simply dropping the schemadir parameter - which was unused anyway. Modified: osynctool/trunk/tools/osynctool.c Modified: osynctool/trunk/tools/osynctool.c ============================================================================== --- osynctool/trunk/tools/osynctool.c Thu Sep 17 00:10:41 2009 (r5765) +++ osynctool/trunk/tools/osynctool.c Thu Sep 17 00:12:13 2009 (r5766) @@ -1076,7 +1076,7 @@ g_free(editcmd); *config = osync_plugin_config_new(error); /* if a new config isn't created the loaded config is added to the old config */ - if (!osync_plugin_config_file_load(*config, tmpfile, NULL, error)) { + if (!osync_plugin_config_file_load(*config, tmpfile, error)) { osync_error_set(error, OSYNC_ERROR_GENERIC, "Unable to load config from tmpfile %s. Aborting", tmpfile); goto error_free_tmp; } |