[telepathy-gabble/master] gabble_file_transfer_channel_constructor: add a debug msg telling some info about the FT

Guillaume Desmottes guillaume.desmottes at collabora.co.uk
Fri Apr 3 09:26:12 PDT 2009


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

diff --git a/src/file-transfer-channel.c b/src/file-transfer-channel.c
index 9c3be5a..702357e 100644
--- a/src/file-transfer-channel.c
+++ b/src/file-transfer-channel.c
@@ -461,6 +461,13 @@ gabble_file_transfer_channel_constructor (GType type,
   gabble_signal_connect_weak (self->priv->connection->presence_cache,
       "presences-updated", G_CALLBACK (connection_presences_updated_cb), obj);
 
+  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