pidgin: 9e8ab817: user should never be NULL here.

qulogic at pidgin.im qulogic at pidgin.im
Mon Aug 23 01:32:10 EDT 2010


----------------------------------------------------------------------
Revision: 9e8ab817c1a2777d5a9a375889ea178b5b2c3500
Parent:   111b4d901f1d99845e5be87c4c922d108ea10798
Author:   qulogic at pidgin.im
Date:     08/22/10 02:15:30
Branch:   im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/9e8ab817c1a2777d5a9a375889ea178b5b2c3500

Changelog: 

user should never be NULL here.

Changes against parent 111b4d901f1d99845e5be87c4c922d108ea10798

  patched  libpurple/protocols/msn/contact.c

-------------- next part --------------
============================================================
--- libpurple/protocols/msn/contact.c	8ef157f2783c5ffcaacffe770191c5b1c01fbd09
+++ libpurple/protocols/msn/contact.c	1f2b6e8295569f9ec0ac33fc0ba6ea421b924a3c
@@ -1565,7 +1565,7 @@ msn_del_contact_from_list(MsnSession *se
 	
 	if (list == MSN_LIST_PL) {
 		partner_scenario = MSN_PS_CONTACT_API;
-		if (user && user->networkid != MSN_NETWORK_PASSPORT)
+		if (user->networkid != MSN_NETWORK_PASSPORT)
 			member = g_strdup_printf(MSN_MEMBER_MEMBERSHIPID_XML,
 			                         "EmailMember", "Email",
 			                         user->member_id_on_pending_list);


More information about the Commits mailing list