From 6d96953703d24d146cdec1c25a97c07cd29c2c24 Mon Sep 17 00:00:00 2001 From: Milan Crha Date: Wed, 25 Sep 2013 09:19:47 +0200 Subject: Add debugging for formatter requests With CAMEL_DEBUG=emformat:requests the evolution prints a debug messages about requests being processed when formatting messages. --- mail/e-http-request.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'mail/e-http-request.c') diff --git a/mail/e-http-request.c b/mail/e-http-request.c index a4a35567ed..996a993804 100644 --- a/mail/e-http-request.c +++ b/mail/e-http-request.c @@ -188,6 +188,11 @@ handle_http_request (GSimpleAsyncResult *res, evo_uri = soup_uri_to_string (soup_uri, FALSE); + if (camel_debug_start ("emformat:requests")) { + printf ("%s: looking for '%s'\n", G_STRFUNC, evo_uri); + camel_debug_end (); + } + /* Remove the "evo-" prefix from scheme */ uri_len = strlen (evo_uri); uri = NULL; -- cgit v1.2.3