diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2011-12-01 10:53:20 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2012-02-20 23:04:25 +0800 |
commit | 23f5773903d64a554d977ae7d0ebbaca73528f1f (patch) | |
tree | 104e1a59da8bf96b004bce204b79f47bbe0a6d13 /mail/e-mail-migrate.c | |
parent | 49bc4c2d765ee1780c23fdc9f42152850dabb220 (diff) | |
download | gsoc2013-evolution-23f5773903d64a554d977ae7d0ebbaca73528f1f.tar.gz gsoc2013-evolution-23f5773903d64a554d977ae7d0ebbaca73528f1f.tar.zst gsoc2013-evolution-23f5773903d64a554d977ae7d0ebbaca73528f1f.zip |
Coding style and whitespace cleanup.
Diffstat (limited to 'mail/e-mail-migrate.c')
-rw-r--r-- | mail/e-mail-migrate.c | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/mail/e-mail-migrate.c b/mail/e-mail-migrate.c index 311d5d2359..0d2381ffa0 100644 --- a/mail/e-mail-migrate.c +++ b/mail/e-mail-migrate.c @@ -778,7 +778,9 @@ change_sent_and_drafts_local_folders (EShellBackend *shell_backend) camel_url_free (url); - tmp_uri = g_strconcat ("mbox:", g_get_home_dir (), "/.evolution/mail/local", NULL); + tmp_uri = g_strconcat ( + "mbox:", g_get_home_dir (), + "/.evolution/mail/local", NULL); url = camel_url_new (tmp_uri, NULL); g_free (tmp_uri); @@ -801,7 +803,8 @@ change_sent_and_drafts_local_folders (EShellBackend *shell_backend) continue; uri = e_account_get_string (account, E_ACCOUNT_DRAFTS_FOLDER_URI); - if (g_strcmp0 (uri, drafts_uri) == 0 || g_strcmp0 (uri, old_drafts_uri) == 0) { + if (g_strcmp0 (uri, drafts_uri) == 0 || + g_strcmp0 (uri, old_drafts_uri) == 0) { changed = TRUE; e_account_set_string ( account, E_ACCOUNT_DRAFTS_FOLDER_URI, @@ -1167,7 +1170,7 @@ em_ensure_proxy_ignore_hosts_being_list (void) static void em_rename_view_in_folder (gpointer data, - gpointer user_data) + gpointer user_data) { const gchar *filename = data; const gchar *views_dir = user_data; @@ -1188,6 +1191,7 @@ em_rename_view_in_folder (gpointer data, if (folderpos < dotpos && g_str_equal (dotpos, ".xml")) { GChecksum *checksum; gchar *oldname, *newname, *newfile; + const gchar *md5_string; *dotpos = 0; @@ -1196,7 +1200,8 @@ em_rename_view_in_folder (gpointer data, g_checksum_update (checksum, (const guchar *) folderpos, -1); *folderpos = 0; - newfile = g_strconcat (filename, g_checksum_get_string (checksum), ".xml", NULL); + md5_string = g_checksum_get_string (checksum); + newfile = g_strconcat (filename, md5_string, ".xml", NULL); *folderpos = 'f'; *dotpos = '.'; |