diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2011-05-08 00:22:36 +0800 |
---|---|---|
committer | Rodrigo Moya <rodrigo@gnome-db.org> | 2011-06-30 00:42:10 +0800 |
commit | 578214584caa7805edca09b27e2306dc31d80fb6 (patch) | |
tree | dfa18882e01b362a721fd47bd901538bc5e3a9c4 /mail/importers/mail-importer.c | |
parent | 30fe010cffa6f290170147ea9a8b617d04fab39d (diff) | |
download | gsoc2013-evolution-578214584caa7805edca09b27e2306dc31d80fb6.tar.gz gsoc2013-evolution-578214584caa7805edca09b27e2306dc31d80fb6.tar.zst gsoc2013-evolution-578214584caa7805edca09b27e2306dc31d80fb6.zip |
Whitespace and coding style cleanups.
Diffstat (limited to 'mail/importers/mail-importer.c')
-rw-r--r-- | mail/importers/mail-importer.c | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/mail/importers/mail-importer.c b/mail/importers/mail-importer.c index f6cbbbb82c..f8edee6dac 100644 --- a/mail/importers/mail-importer.c +++ b/mail/importers/mail-importer.c @@ -118,7 +118,9 @@ import_mbox_exec (struct _import_mbox_msg *m, CamelMessageInfo *info; if (g_stat (m->path, &st) == -1) { - g_warning("cannot find source file to import '%s': %s", m->path, g_strerror(errno)); + g_warning ( + "cannot find source file to import '%s': %s", + m->path, g_strerror (errno)); return; } @@ -135,7 +137,9 @@ import_mbox_exec (struct _import_mbox_msg *m, if (S_ISREG (st.st_mode)) { fd = g_open (m->path, O_RDONLY|O_BINARY, 0); if (fd == -1) { - g_warning("cannot find source file to import '%s': %s", m->path, g_strerror(errno)); + g_warning ( + "cannot find source file to import '%s': %s", + m->path, g_strerror (errno)); goto fail1; } @@ -157,7 +161,9 @@ import_mbox_exec (struct _import_mbox_msg *m, guint32 flags = 0; if (st.st_size > 0) - pc = (gint)(100.0 * ((double)camel_mime_parser_tell (mp) / (double)st.st_size)); + pc = (gint) (100.0 * ((gdouble) + camel_mime_parser_tell (mp) / + (gdouble) st.st_size)); camel_operation_progress (cancellable, pc); msg = camel_mime_message_new (); |