[Telepathy-commits] [telepathy-salut/master] lib/gibber/gibber-bytestream-direct.c: Add a FIXME to try every address to connect

Alban Crequy alban.crequy at collabora.co.uk
Tue Nov 25 03:59:35 PST 2008


---
 lib/gibber/gibber-bytestream-direct.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/lib/gibber/gibber-bytestream-direct.c b/lib/gibber/gibber-bytestream-direct.c
index f6f0491..8d06d0e 100644
--- a/lib/gibber/gibber-bytestream-direct.c
+++ b/lib/gibber/gibber-bytestream-direct.c
@@ -664,7 +664,9 @@ gibber_bytestream_direct_initiate (GibberBytestreamIface *bytestream)
       return FALSE;
     }
 
-  /* Use the first address for now */
+  /* Use the first address for now
+   * FIXME: it should try the other addresses of the array if the first does
+   * not work. */
   addr.storage = g_array_index (priv->addresses, struct sockaddr_storage, 0);
 
   addr.in6.sin6_port = g_htons ((guint16) priv->portnum);
-- 
1.5.6.5




More information about the Telepathy-commits mailing list