[evolution-mapi] Bug #609078 - Crash in mapidump_tags at libmapi/mapidump.c
- From: Johnny Jacob <jjohnny src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-mapi] Bug #609078 - Crash in mapidump_tags at libmapi/mapidump.c
- Date: Mon, 22 Feb 2010 12:47:13 +0000 (UTC)
commit 2c983ded24af5999935392de5e1a013ce68b4014
Author: Johnny Jacob <johnnyjacob gmail com>
Date: Mon Feb 8 11:41:20 2010 +0530
Bug #609078 - Crash in mapidump_tags at libmapi/mapidump.c
Wrapped debug messages for events under camel_debug. Use
`export CAMEL_DEBUG=mapi:notifications` for event dumps.
src/camel/camel-mapi-notifications.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/camel/camel-mapi-notifications.c b/src/camel/camel-mapi-notifications.c
index a847fb8..f26840d 100644
--- a/src/camel/camel-mapi-notifications.c
+++ b/src/camel/camel-mapi-notifications.c
@@ -38,6 +38,7 @@
#include <camel/camel-store-summary.h>
#include <camel/camel-i18n.h>
#include <camel/camel-net-utils.h>
+#include <camel/camel-debug.h>
#include "camel-mapi-store.h"
#include "camel-mapi-folder.h"
@@ -47,7 +48,7 @@
#include <exchange-mapi-utils.h>
-#define d_notifications(x) x
+#define d_notifications(x) (camel_debug ("mapi:notifications") ? (x) : 0)
static void mapi_push_notification_listener (CamelSession *session, CamelSessionThreadMsg *msg);
static void mapi_push_notification_listener_close (CamelSession *session, CamelSessionThreadMsg *msg);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]