[Telepathy-commits] [telepathy-salut/master] Added TODO notes to AcceptFile implementation.

Jonny Lamb jonny.lamb at collabora.co.uk
Fri Nov 21 03:46:10 PST 2008


20080722104749-8ed0e-5efb0cd6357887c7a9aac8a4dec6c22529ab86a2.gz
---
 src/salut-file-channel.c |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/src/salut-file-channel.c b/src/salut-file-channel.c
index f499515..8fb016e 100644
--- a/src/salut-file-channel.c
+++ b/src/salut-file-channel.c
@@ -912,6 +912,13 @@ salut_file_channel_accept_file (SalutSvcChannelTypeFile *iface,
       g_error_free (error);
     }
 
+  /* TODO: check whether we actually are in the local pending state */
+
+  if (address_type != SALUT_SOCKET_ADDRESS_TYPE_UNIX)
+    {
+      /* TODO fail here. we only support unix sockets so far */
+    }
+
   g_signal_connect (ft, "finished", G_CALLBACK (ft_finished_cb), self);
 
   setup_local_socket (self);
-- 
1.5.6.5




More information about the Telepathy-commits mailing list