From 18e40f0e2d16f5258689fc2f75e4b94ac364aae9 Mon Sep 17 00:00:00 2001 From: 0 Date: Tue, 30 Oct 2001 21:31:45 +0000 Subject: Added exception strings to some of the op logging. 2001-10-30 * mail-mt.c: Added exception strings to some of the op logging. * mail-format.c (elide_quotes): Remove, uh, what was this for, its not used anywhere? Also loops the instant it had a ", good one trow! :) (write_address): Remove name_arg/email_arg, these aren't used anywhere. svn path=/trunk/; revision=14482 --- mail/mail-mt.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'mail/mail-mt.c') diff --git a/mail/mail-mt.c b/mail/mail-mt.c index d02eaaab60..c047d49c0a 100644 --- a/mail/mail-mt.c +++ b/mail/mail-mt.c @@ -187,7 +187,8 @@ void mail_msg_free(void *msg) #ifdef LOG_OPS if (log_ops) - fprintf(log, "%p: Free\n", msg); + fprintf(log, "%p: Free (exception `%s')\n", msg, + camel_exception_get_description(&m->ex)?camel_exception_get_description(&m->ex):"None"); #endif g_hash_table_remove(mail_msg_active_table, (void *)m->seq); pthread_cond_broadcast(&mail_msg_cond); @@ -382,7 +383,8 @@ mail_msgport_replied(GIOChannel *source, GIOCondition cond, void *d) #ifdef LOG_OPS if (log_ops) - fprintf(log, "%p: Replied to GUI thread\n", m); + fprintf(log, "%p: Replied to GUI thread (exception `%s'\n", m, + camel_exception_get_description(&m->ex)?camel_exception_get_description(&m->ex):"None"); #endif if (m->ops->reply_msg) -- cgit