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 /libemail-engine/mail-tools.c | |
parent | 7d1751cc26a75166019917ec8c3b35e1083d27d6 (diff) | |
download | gsoc2013-evolution-c85109fc322137596bf34cffc5445d568223c60d.tar.gz gsoc2013-evolution-c85109fc322137596bf34cffc5445d568223c60d.tar.zst gsoc2013-evolution-c85109fc322137596bf34cffc5445d568223c60d.zip |
Coding style and whitespace cleanup.
Diffstat (limited to 'libemail-engine/mail-tools.c')
-rw-r--r-- | libemail-engine/mail-tools.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libemail-engine/mail-tools.c b/libemail-engine/mail-tools.c index 29955c73d4..00cd653509 100644 --- a/libemail-engine/mail-tools.c +++ b/libemail-engine/mail-tools.c @@ -58,7 +58,7 @@ mail_tool_get_local_movemail_path (CamelStore *store, uid = camel_service_get_uid (CAMEL_SERVICE (store)); safe_uid = (guchar *) g_strdup ((const gchar *) uid); for (c = safe_uid; *c; c++) - if (strchr("/:;=|%&#!*^()\\, ", *c) || !isprint((gint) *c)) + if (strchr ("/:;=|%&#!*^()\\, ", *c) || !isprint ((gint) *c)) *c = '_'; data_dir = mail_session_get_data_dir (); @@ -74,7 +74,7 @@ mail_tool_get_local_movemail_path (CamelStore *store, return NULL; } - full = g_strdup_printf("%s/movemail.%s", path, safe_uid); + full = g_strdup_printf ("%s/movemail.%s", path, safe_uid); g_free (path); g_free (safe_uid); @@ -146,7 +146,7 @@ mail_tool_do_movemail (CamelStore *store, /* Unclear yet whether camel-movemail etc makes any sense on * Win32, at least it is not ported yet. */ - g_warning("%s: Not implemented", __FUNCTION__); + g_warning ("%s: Not implemented", __FUNCTION__); return NULL; #endif } @@ -195,7 +195,7 @@ mail_tool_remove_xevolution_headers (CamelMimeMessage *message) struct _camel_header_raw *scan, *list = NULL; for (scan = ((CamelMimePart *) message)->headers; scan; scan = scan->next) - if (!strncmp(scan->name, "X-Evolution", 11)) + if (!strncmp (scan->name, "X-Evolution", 11)) camel_header_raw_append (&list, scan->name, scan->value, scan->offset); for (scan = list; scan; scan = scan->next) |