evolution-data-server r8961 - branches/camel-db-summary/camel
- From: sragavan svn gnome org
- To: svn-commits-list gnome org
- Subject: evolution-data-server r8961 - branches/camel-db-summary/camel
- Date: Tue, 10 Jun 2008 05:09:10 +0000 (UTC)
Author: sragavan
Date: Tue Jun 10 05:09:09 2008
New Revision: 8961
URL: http://svn.gnome.org/viewvc/evolution-data-server?rev=8961&view=rev
Log:
Make the folders.db create at the right place.
Modified:
branches/camel-db-summary/camel/camel-store.c
Modified: branches/camel-db-summary/camel/camel-store.c
==============================================================================
--- branches/camel-db-summary/camel/camel-store.c (original)
+++ branches/camel-db-summary/camel/camel-store.c Tue Jun 10 05:09:09 2008
@@ -206,16 +206,15 @@
CamelException *ex)
{
CamelStore *store = CAMEL_STORE(service);
- char *store_path, *store_db_path;
+ char *store_db_path;
parent_class->construct(service, session, provider, url, ex);
if (camel_exception_is_set (ex))
return;
- store_path = camel_session_get_storage_path (session, service, ex);
- store_db_path = g_build_filename (store_path, CAMEL_DB_FILE, NULL);
+ store_db_path = g_build_filename (service->url->path, CAMEL_DB_FILE, NULL);
store->cdb = camel_db_open (store_db_path, ex);
- g_free (store_path);
+ printf("store_db_path %s", store_db_path);
g_free (store_db_path);
if (camel_exception_is_set (ex))
return;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]