pidgin: deca4331: msn_session_get_swboard only returns nul...

markdoliner at pidgin.im markdoliner at pidgin.im
Fri Nov 14 13:35:23 EST 2008


-----------------------------------------------------------------
Revision: deca43310925438f0718c57aeca1a89a2f7bcb24
Ancestor: 71a4d6faf379ab067f4fe348b3bdb155aaa651ed
Author: markdoliner at pidgin.im
Date: 2008-11-14T18:33:19
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/deca43310925438f0718c57aeca1a89a2f7bcb24

Modified files:
        libpurple/protocols/msn/msn.c

ChangeLog: 

msn_session_get_swboard only returns null if we give it a null session,
and that's never going to happen

-------------- next part --------------
============================================================
--- libpurple/protocols/msn/msn.c	1e9325d2e4fbbf2342b3a4fed6b02bcd9d63973b
+++ libpurple/protocols/msn/msn.c	f3cff1e4def459498c1716bfad8c77ff9264dbf9
@@ -121,9 +121,6 @@ msn_send_attention(PurpleConnection *gc,
 	session = gc->proto_data;
 	swboard = msn_session_get_swboard(session, username, MSN_SB_FLAG_IM);
 
-	if (swboard == NULL)
-		return FALSE;
-
 	msn_switchboard_send_msg(swboard, msg, TRUE);
 	msn_message_destroy(msg);
 


More information about the Commits mailing list