[telepathy-gabble/master] GabbleMediaChannel: make a debug message more informative

Simon McVittie simon.mcvittie at collabora.co.uk
Mon Aug 24 06:02:51 PDT 2009


---
 src/media-channel.c |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/src/media-channel.c b/src/media-channel.c
index 6a87e98..6ce44a7 100644
--- a/src/media-channel.c
+++ b/src/media-channel.c
@@ -2507,9 +2507,13 @@ _gabble_media_channel_typeflags_to_caps (TpChannelMediaCapabilities flags)
   GabblePresenceCapabilities caps = 0;
   gboolean gtalk_p2p;
 
-  DEBUG ("adding Jingle caps (%s, %s)",
+  DEBUG ("adding Jingle caps %u (%s, %s, %s, %s)", flags,
     flags & TP_CHANNEL_MEDIA_CAPABILITY_AUDIO ? "audio" : "no audio",
-    flags & TP_CHANNEL_MEDIA_CAPABILITY_VIDEO ? "video" : "no video");
+    flags & TP_CHANNEL_MEDIA_CAPABILITY_VIDEO ? "video" : "no video",
+    flags & TP_CHANNEL_MEDIA_CAPABILITY_NAT_TRAVERSAL_GTALK_P2P
+        ? "gtalk-p2p" : "no gtalk-p2p",
+    flags & TP_CHANNEL_MEDIA_CAPABILITY_NAT_TRAVERSAL_ICE_UDP
+        ? "ice-udp" : "no ice-udp");
 
   if (flags & TP_CHANNEL_MEDIA_CAPABILITY_NAT_TRAVERSAL_ICE_UDP)
     caps |= PRESENCE_CAP_JINGLE_TRANSPORT_ICEUDP;
-- 
1.5.6.5




More information about the telepathy-commits mailing list