diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2012-07-12 20:02:18 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2012-08-20 02:17:55 +0800 |
commit | c85109fc322137596bf34cffc5445d568223c60d (patch) | |
tree | 711e6d5b2eb3d6c7780d1d01e20d980c67a77f9e /em-format/e-mail-part-utils.c | |
parent | 7d1751cc26a75166019917ec8c3b35e1083d27d6 (diff) | |
download | gsoc2013-evolution-c85109fc322137596bf34cffc5445d568223c60d.tar gsoc2013-evolution-c85109fc322137596bf34cffc5445d568223c60d.tar.gz gsoc2013-evolution-c85109fc322137596bf34cffc5445d568223c60d.tar.bz2 gsoc2013-evolution-c85109fc322137596bf34cffc5445d568223c60d.tar.lz gsoc2013-evolution-c85109fc322137596bf34cffc5445d568223c60d.tar.xz gsoc2013-evolution-c85109fc322137596bf34cffc5445d568223c60d.tar.zst gsoc2013-evolution-c85109fc322137596bf34cffc5445d568223c60d.zip |
Coding style and whitespace cleanup.
Diffstat (limited to 'em-format/e-mail-part-utils.c')
-rw-r--r-- | em-format/e-mail-part-utils.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/em-format/e-mail-part-utils.c b/em-format/e-mail-part-utils.c index 858209b7df..0d96d56085 100644 --- a/em-format/e-mail-part-utils.c +++ b/em-format/e-mail-part-utils.c @@ -111,8 +111,8 @@ e_mail_part_snoop_type (CamelMimePart *part) if (magic_type) { if (name_type - && (!strcmp(magic_type, "text/plain") - || !strcmp(magic_type, "application/octet-stream"))) + && (!strcmp (magic_type, "text/plain") + || !strcmp (magic_type, "application/octet-stream"))) res = name_type; else res = magic_type; @@ -141,7 +141,7 @@ e_mail_part_snoop_type (CamelMimePart *part) } } - d(printf("Snooped mime type %s\n", res)); + d (printf ("Snooped mime type %s\n", res)); return res; /* We used to load parts to check their type, we don't anymore, @@ -172,7 +172,7 @@ e_mail_part_is_attachment (CamelMimePart *part) if (!dw) return 0; - d(printf("checking is attachment %s/%s\n", dw->mime_type->type, dw->mime_type->subtype)); + d (printf ("checking is attachment %s/%s\n", dw->mime_type->type, dw->mime_type->subtype)); return !(camel_content_type_is (dw->mime_type, "multipart", "*") || camel_content_type_is ( dw->mime_type, "application", "x-pkcs7-mime") @@ -484,7 +484,7 @@ e_mail_part_describe (CamelMimePart *part, const gchar *filename, *description; gchar *content_type, *desc; - stext = g_string_new(""); + stext = g_string_new (""); content_type = g_content_type_from_mime_type (mime_type); desc = g_content_type_get_description ( content_type != NULL ? content_type : mime_type); |