[telepathy-gabble/master] Assert when we get a content type we don't know

Sjoerd Simons sjoerd.simons at collabora.co.uk
Thu Jun 25 09:59:40 PDT 2009


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

diff --git a/src/media-channel.c b/src/media-channel.c
index c7c71e4..a9e6035 100644
--- a/src/media-channel.c
+++ b/src/media-channel.c
@@ -215,6 +215,10 @@ create_initial_streams (GabbleMediaChannel *chan)
               DEBUG ("unknown rtp media type %u", media_type);
             }
         }
+      else
+        {
+          g_assert_not_reached ();
+        }
 
       create_stream_from_content (chan, c);
     }
-- 
1.5.6.5




More information about the telepathy-commits mailing list