[Telepathy-commits] [telepathy-glib/master] Debug when the message mixin receives a message

Simon McVittie simon.mcvittie at collabora.co.uk
Thu Dec 18 10:41:26 PST 2008


20080414174055-53eee-77b925b204b2d5be0087e267f8dd02c5363ebb20.gz
---
 telepathy-glib/message-mixin.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/telepathy-glib/message-mixin.c b/telepathy-glib/message-mixin.c
index 9f224f6..55ecbf0 100644
--- a/telepathy-glib/message-mixin.c
+++ b/telepathy-glib/message-mixin.c
@@ -625,6 +625,9 @@ tp_message_mixin_take_received (GObject *object,
   if (timestamp == 0)
     timestamp = time (NULL);
 
+  DEBUG ("%p: time %u, sender %u, type %u, %u parts",
+      object, (guint) timestamp, sender, message_type, content->len);
+
   /* FIXME: we don't check for overflow, so in highly pathological cases we
    * might end up with multiple messages with the same ID */
   pending->id = mixin->priv->recv_id++;
-- 
1.5.6.5




More information about the Telepathy-commits mailing list