[Telepathy-commits] [telepathy-glib/master] TpBaseConnection: debug when handles are requested, held or released

Simon McVittie simon.mcvittie at collabora.co.uk
Tue Oct 7 07:02:59 PDT 2008


---
 telepathy-glib/base-connection.c |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/telepathy-glib/base-connection.c b/telepathy-glib/base-connection.c
index cb644ad..863806e 100644
--- a/telepathy-glib/base-connection.c
+++ b/telepathy-glib/base-connection.c
@@ -1826,6 +1826,9 @@ tp_base_connection_hold_handles (TpSvcConnection *iface,
     }
 
   sender = dbus_g_method_get_sender (context);
+
+  DEBUG ("%u handles of type %u, for %s", handles->len, handle_type, sender);
+
   if (!tp_handles_client_hold (priv->handles[handle_type], sender,
         handles, &error))
     {
@@ -2284,6 +2287,8 @@ tp_base_connection_release_handles (TpSvcConnection *iface,
     }
 
   sender = dbus_g_method_get_sender (context);
+  DEBUG ("%u handles of type %u, for %s", handles->len, handle_type, sender);
+
   if (!tp_handles_client_release (priv->handles[handle_type],
         sender, handles, &error))
     {
@@ -2382,6 +2387,8 @@ tp_base_connection_dbus_request_handles (TpSvcConnection *iface,
     }
 
   sender = dbus_g_method_get_sender (context);
+  DEBUG ("%u handles of type %u, for %s", handles->len, handle_type, sender);
+
   if (!tp_handles_client_hold (handle_repo, sender, handles, &error))
     {
       g_assert (error != NULL);
-- 
1.5.6.5




More information about the Telepathy-commits mailing list