diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2011-05-21 22:02:58 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2011-05-22 05:56:06 +0800 |
commit | cb97c2dc8fd97b381af048f206333d5e557892ae (patch) | |
tree | c2901380e607a3b439abb1bed165344ba8f4fc83 /mail/em-folder-utils.c | |
parent | 64fa8ad9c0851e2d5c1e90ac2e75af8d455d9fea (diff) | |
download | gsoc2013-evolution-cb97c2dc8fd97b381af048f206333d5e557892ae.tar.gz gsoc2013-evolution-cb97c2dc8fd97b381af048f206333d5e557892ae.tar.zst gsoc2013-evolution-cb97c2dc8fd97b381af048f206333d5e557892ae.zip |
Coding style and whitespace cleanup.
Diffstat (limited to 'mail/em-folder-utils.c')
-rw-r--r-- | mail/em-folder-utils.c | 19 |
1 files changed, 13 insertions, 6 deletions
diff --git a/mail/em-folder-utils.c b/mail/em-folder-utils.c index 60f03002f0..8ea58365f0 100644 --- a/mail/em-folder-utils.c +++ b/mail/em-folder-utils.c @@ -344,11 +344,14 @@ emfu_copy_folder_selected (EMailBackend *backend, goto fail; } - if (!e_mail_folder_uri_parse (CAMEL_SESSION (session), uri, &tostore, &tobase, &local_error)) + if (!e_mail_folder_uri_parse ( + CAMEL_SESSION (session), uri, + &tostore, &tobase, &local_error)) tostore = NULL; if (tostore != NULL) - camel_service_connect_sync (CAMEL_SERVICE (tostore), &local_error); + camel_service_connect_sync ( + CAMEL_SERVICE (tostore), &local_error); if (local_error != NULL) { e_mail_backend_submit_alert ( @@ -631,10 +634,14 @@ emfu_popup_new_folder_response (EMFolderSelector *emfs, session = em_folder_tree_get_session (folder_tree); - if (!e_mail_folder_uri_parse (CAMEL_SESSION (session), uri, &store, NULL, &error)) { - g_warning ("%s: Failed to parse folder uri: %s", G_STRFUNC, error ? error->message : "Unknown error"); - if (error) - g_error_free (error); + e_mail_folder_uri_parse ( + CAMEL_SESSION (session), uri, &store, NULL, &error); + + if (error != NULL) { + g_warning ( + "%s: Failed to parse folder uri: %s", + G_STRFUNC, error->message); + g_error_free (error); return; } |