diff options
author | Iain Holmes <iain@src.gnome.org> | 2001-05-09 06:53:41 +0800 |
---|---|---|
committer | Iain Holmes <iain@src.gnome.org> | 2001-05-09 06:53:41 +0800 |
commit | c64eccfe004f5c30932fe571bb506626bb0c186d (patch) | |
tree | 2260477f72c474e00ae9f2b0afa7f5242e60c5a5 /shell/e-local-storage.c | |
parent | 9bcfef421b420061f7342e5517d226aa9f58dbdd (diff) | |
download | gsoc2013-evolution-c64eccfe004f5c30932fe571bb506626bb0c186d.tar.gz gsoc2013-evolution-c64eccfe004f5c30932fe571bb506626bb0c186d.tar.zst gsoc2013-evolution-c64eccfe004f5c30932fe571bb506626bb0c186d.zip |
Importer changes
svn path=/trunk/; revision=9722
Diffstat (limited to 'shell/e-local-storage.c')
-rw-r--r-- | shell/e-local-storage.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/shell/e-local-storage.c b/shell/e-local-storage.c index d0d433abc0..233a3a4107 100644 --- a/shell/e-local-storage.c +++ b/shell/e-local-storage.c @@ -469,12 +469,11 @@ create_folder_directory (ELocalStorage *local_storage, /* Create the directory that holds the folder. */ + *physical_path_return = physical_path; if (mkdir (physical_path, 0700) == -1) { - g_free (physical_path); return errno_to_storage_result (); } - *physical_path_return = physical_path; return E_STORAGE_OK; } @@ -512,10 +511,12 @@ create_folder (ELocalStorage *local_storage, result = create_folder_directory (local_storage, path, type, description, &physical_path); if (result != E_STORAGE_OK) { + g_warning ("physical_path: %s", physical_path); if (callback != NULL) (* callback) (storage, result, data); if (listener != CORBA_OBJECT_NIL) - notify_bonobo_listener (listener, result, NULL); + notify_bonobo_listener (listener, result, physical_path); + g_free (physical_path); return; } |