[Telepathy-commits] [telepathy-salut/master] make_roomlist_channel: add FIXME explaining we should improve the id allocation at some point

Guillaume Desmottes guillaume.desmottes at collabora.co.uk
Thu Nov 27 09:20:01 PST 2008


---
 src/salut-roomlist-manager.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/salut-roomlist-manager.c b/src/salut-roomlist-manager.c
index 97f00a9..b03aebc 100644
--- a/src/salut-roomlist-manager.c
+++ b/src/salut-roomlist-manager.c
@@ -365,6 +365,8 @@ make_roomlist_channel (SalutRoomlistManager *self)
   static guint cpt = 0;
   GSList *rooms, *l;
 
+  /* FIXME: this is not optimal as all the Connection will share the same cpt
+   * and we could have problem if we overflow the guint. */
   object_path = g_strdup_printf ("%s/RoomlistChannel%u",
       conn->object_path, cpt++);
 
-- 
1.5.6.5




More information about the Telepathy-commits mailing list