diff options
Diffstat (limited to 'camel/camel-folder.c')
-rw-r--r-- | camel/camel-folder.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/camel/camel-folder.c b/camel/camel-folder.c index bf9bd13763..5e971667c4 100644 --- a/camel/camel-folder.c +++ b/camel/camel-folder.c @@ -46,6 +46,8 @@ #define d(x) #define w(x) +extern int camel_verbose_debug; + static CamelObjectClass *parent_class = NULL; /* Returns the class for a CamelFolder */ @@ -1015,6 +1017,12 @@ camel_folder_get_message (CamelFolder *folder, const gchar *uid, CamelException CAMEL_FOLDER_UNLOCK(folder, lock); + /* FIXME: need a better verbose debug framework */ + if (ret && (camel_verbose_debug & 2)) { + printf("CamelFolder:get_message('%s', '%s') =\n", folder->full_name, uid); + camel_mime_message_dump(ret, FALSE); + } + return ret; } |