From: <dg...@su...> - 2009-01-10 22:32:06
|
Author: dgollub Date: Sat Jan 10 23:31:31 2009 New Revision: 5082 URL: http://www.opensync.org/changeset/5082 Log: Use G_DIR_SEPARATOR to build the (temp.) anchor path. Modified: trunk/opensync/client/opensync_client.c Modified: trunk/opensync/client/opensync_client.c ============================================================================== --- trunk/opensync/client/opensync_client.c Sat Jan 10 23:30:51 2009 (r5081) +++ trunk/opensync/client/opensync_client.c Sat Jan 10 23:31:31 2009 (r5082) @@ -701,7 +701,9 @@ * Later with fruther OSyncDB modifications this should be file-hiarchy indepdendent. * And The first arg should just consists of the Member ID */ - anchorpath = osync_strdup_printf("%s/anchor.db", osync_plugin_info_get_configdir(client->plugin_info)); + anchorpath = osync_strdup_printf("%s%canchor.db", + osync_plugin_info_get_configdir(client->plugin_info), + G_DIR_SEPARATOR); num_sinks = osync_plugin_info_num_objtypes(client->plugin_info); for (n = 0; n < num_sinks; n++) { |