[empathy] empathy_dispatcher_join_muc: assert than connection_data is not NULL



commit eab24ccdd00311bd06ce47c36ac388489237ae12
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date:   Wed Jan 6 14:27:36 2010 +0000

    empathy_dispatcher_join_muc: assert than connection_data is not NULL

 libempathy/empathy-dispatcher.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/libempathy/empathy-dispatcher.c b/libempathy/empathy-dispatcher.c
index 839daba..e80f702 100644
--- a/libempathy/empathy-dispatcher.c
+++ b/libempathy/empathy-dispatcher.c
@@ -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,



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]