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 /mail/e-mail-request.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 'mail/e-mail-request.c')
-rw-r--r-- | mail/e-mail-request.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/mail/e-mail-request.c b/mail/e-mail-request.c index 28d1c87d25..37320bc4a3 100644 --- a/mail/e-mail-request.c +++ b/mail/e-mail-request.c @@ -149,14 +149,14 @@ handle_mail_request (GSimpleAsyncResult *res, /* Convert the GString to GInputStream and send it back to WebKit */ ba = camel_stream_mem_get_byte_array (CAMEL_STREAM_MEM (request->priv->output_stream)); if (!ba->data) { - gchar *data = g_strdup_printf(_("Failed to load part '%s'"), part_id); - dd(printf("%s", data)); + gchar *data = g_strdup_printf (_("Failed to load part '%s'"), part_id); + dd (printf ("%s", data)); g_byte_array_append (ba, (guchar *) data, strlen (data)); g_free (data); } else { dd ({ gchar *d = g_strndup ((gchar *) ba->data, ba->len); - printf("%s", d); + printf ("%s", d); g_free (d); }); } @@ -328,7 +328,7 @@ mail_request_send_async (SoupRequest *request, uri = soup_request_get_uri (request); - d(printf("received request for %s\n", soup_uri_to_string (uri, FALSE))); + d (printf ("received request for %s\n", soup_uri_to_string (uri, FALSE))); if (uri->query) { emr->priv->uri_query = soup_form_decode (uri->query); @@ -396,7 +396,7 @@ mail_request_get_content_length (SoupRequest *request) } } - d(printf("Content-Length: %d bytes\n", content_length)); + d (printf ("Content-Length: %d bytes\n", content_length)); return content_length; } @@ -419,12 +419,12 @@ mail_request_get_content_type (SoupRequest *request) emr->priv->ret_mime_type = mime_type; } - d(printf("Content-Type: %s\n", emr->priv->ret_mime_type)); + d (printf ("Content-Type: %s\n", emr->priv->ret_mime_type)); return emr->priv->ret_mime_type; } -static const char *data_schemes[] = { "mail", NULL }; +static const gchar *data_schemes[] = { "mail", NULL }; static void e_mail_request_class_init (EMailRequestClass *class) |