[Telepathy-commits] [telepathy-salut/master] salut_file_transfer_channel_constructor: add a debug msg telling some info about the FT

Guillaume Desmottes guillaume.desmottes at collabora.co.uk
Mon Mar 16 08:21:55 PDT 2009


---
 src/salut-file-transfer-channel.c |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/src/salut-file-transfer-channel.c b/src/salut-file-transfer-channel.c
index 5ac3db6..4f89082 100644
--- a/src/salut-file-transfer-channel.c
+++ b/src/salut-file-transfer-channel.c
@@ -450,6 +450,13 @@ salut_file_transfer_channel_constructor (GType type,
   g_hash_table_insert (self->priv->available_socket_types,
       GUINT_TO_POINTER (TP_SOCKET_ADDRESS_TYPE_UNIX), unix_access);
 
+  DEBUG ("New FT channel created: %s (contact: %s, initiator: %s, "
+       "file: \"%s\", size: %" G_GUINT64_FORMAT ")",
+       self->priv->object_path,
+       tp_handle_inspect (contact_repo, self->priv->handle),
+       tp_handle_inspect (contact_repo, self->priv->initiator),
+       self->priv->filename, self->priv->size);
+
   return obj;
 }
 
-- 
1.5.6.5




More information about the telepathy-commits mailing list