diff options
author | Not Zed <NotZed@Ximian.com> | 2004-03-23 16:48:50 +0800 |
---|---|---|
committer | Michael Zucci <zucchi@src.gnome.org> | 2004-03-23 16:48:50 +0800 |
commit | b3d083b0561cc4ab475abfc4ce4dec9d3b8d6dab (patch) | |
tree | b4fc54b1c3b52c9a426ceaad58caa493af8ec06a /camel/camel-exception.c | |
parent | a116729eb5f0c440b58d60c542502def00884441 (diff) | |
download | gsoc2013-evolution-b3d083b0561cc4ab475abfc4ce4dec9d3b8d6dab.tar.gz gsoc2013-evolution-b3d083b0561cc4ab475abfc4ce4dec9d3b8d6dab.tar.zst gsoc2013-evolution-b3d083b0561cc4ab475abfc4ce4dec9d3b8d6dab.zip |
use camel debug to add some debug here.
2004-03-23 Not Zed <NotZed@Ximian.com>
* camel-exception.c (camel_exception_setv): use camel debug to add
some debug here.
* camel.c (camel_init): call camel_debug_init().
* camel-debug.c (camel_debug_init, camel_debug): new util stuff
for extended debug options.
* providers/imap/camel-imap-folder.c (imap_get_message): if we're
supposed to be online, check we are online before proceeding.
Actually major restructure so we re-try the fetch a couple of
times first before failing. i.e. silent reconnect. See #55381.
svn path=/trunk/; revision=25153
Diffstat (limited to 'camel/camel-exception.c')
-rw-r--r-- | camel/camel-exception.c | 6 |
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; |