]> git.0d.be Git - empathy.git/commitdiff
empathy_dispatcher_join_muc: assert than connection_data is not NULL
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Wed, 6 Jan 2010 14:27:36 +0000 (14:27 +0000)
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Mon, 11 Jan 2010 16:04:46 +0000 (16:04 +0000)
libempathy/empathy-dispatcher.c

index 839dababb605599336006f68f9ca2a61e1291101..e80f7022f82cf75e8c6e3dc75fad8c1c7f20f1d1 100644 (file)
@@ -1532,6 +1532,7 @@ empathy_dispatcher_join_muc (TpConnection *connection,
   priv = GET_PRIV (self);
 
   connection_data = g_hash_table_lookup (priv->connections, connection);
+  g_assert (connection_data != NULL);
 
   /* Don't know the room handle yet */
   request_data  = new_dispatcher_request_data (self, connection,