[Telepathy-commits] [telepathy-gabble/master] Improve some comments for corner cases

Marco Barisione marco at barisione.org
Tue Jan 6 08:41:34 PST 2009


---
 src/bytestream-multiple.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/bytestream-multiple.c b/src/bytestream-multiple.c
index 109cb96..aef0125 100644
--- a/src/bytestream-multiple.c
+++ b/src/bytestream-multiple.c
@@ -468,7 +468,8 @@ gabble_bytestream_multiple_close (GabbleBytestreamIface *iface,
   if (priv->active_bytestream)
     gabble_bytestream_iface_close (priv->active_bytestream, error);
   else
-    /* FIXME can it happen? maybe when there are no methods */
+    /* It can happen if the bytestream is still empty, i.e. not stream
+     * methods have been added yet */
     g_object_set (self, "state", GABBLE_BYTESTREAM_STATE_CLOSED, NULL);
 }
 
@@ -493,7 +494,6 @@ gabble_bytestream_multiple_initiate (GabbleBytestreamIface *iface)
 
   if (priv->active_bytestream == NULL)
     {
-      /* FIXME no stream methods? */
       DEBUG ("no bytestreams to initiate");
       return FALSE;
     }
-- 
1.5.6.5




More information about the Telepathy-commits mailing list