gossip r2846 - in trunk: . libgossip



Author: mr
Date: Sat Aug  2 11:18:53 2008
New Revision: 2846
URL: http://svn.gnome.org/viewvc/gossip?rev=2846&view=rev

Log:
Don't create chatrooms from the XML file without an "account" element


Modified:
   trunk/ChangeLog
   trunk/libgossip/gossip-chatroom-manager.c

Modified: trunk/libgossip/gossip-chatroom-manager.c
==============================================================================
--- trunk/libgossip/gossip-chatroom-manager.c	(original)
+++ trunk/libgossip/gossip-chatroom-manager.c	Sat Aug  2 11:18:53 2008
@@ -737,8 +737,8 @@
 		child = child->next;
 	}
 
-	if (name && server && room) {
-		GossipAccount *account = NULL;
+	if (account_name && name && server && room) {
+		GossipAccount *account;
 		
 		account = gossip_account_manager_find (priv->account_manager,
 						       account_name);



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