aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-exception.c
diff options
context:
space:
mode:
Diffstat (limited to 'camel/camel-exception.c')
-rw-r--r--camel/camel-exception.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/camel/camel-exception.c b/camel/camel-exception.c
index 95e376624a..c67ab66c22 100644
--- a/camel/camel-exception.c
+++ b/camel/camel-exception.c
@@ -25,12 +25,15 @@
#include <config.h>
#endif
+#include <stdio.h>
#include <glib.h>
#include <pthread.h>
#include "camel-exception.h"
#include "e-util/e-memory.h"
+#include "camel-debug.h"
+
/* i dont know why gthread_mutex stuff even exists, this is easier */
/* also, i'm not convinced mutexes are needed here. But it
@@ -204,6 +207,9 @@ camel_exception_setv (CamelException *ex,
{
va_list args;
char *old;
+
+ if (camel_debug("exception"))
+ printf("CamelException.setv(%p, %d, '%s')\n", ex, id, format);
if (!ex)
return;