[Telepathy-commits] [telepathy-gabble/master] Improve PendingStreamRequest comments

Will Thompson will.thompson at collabora.co.uk
Thu Mar 12 10:29:22 PDT 2009


---
 src/media-channel.c |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/src/media-channel.c b/src/media-channel.c
index 3cc5a29..9288dbc 100644
--- a/src/media-channel.c
+++ b/src/media-channel.c
@@ -1358,9 +1358,11 @@ typedef struct {
     guint len;
     /* array of @len borrowed pointers */
     GabbleJingleContent **contents;
-    /* accumulates borrowed pointers to streams */
+    /* accumulates borrowed pointers to streams. Initially @len NULL pointers;
+     * when the stream for contents[i] is created, it is stored at streams[i].
+     */
     GabbleMediaStream **streams;
-    /* number of streams in streams (0 <= satisfied <= contents) */
+    /* number of non-NULL elements in streams (0 <= satisfied <= contents) */
     guint satisfied;
     DBusGMethodInvocation *context;
 } PendingStreamRequest;
-- 
1.5.6.5




More information about the telepathy-commits mailing list