changeset 30425:f60a1a80036f

user should never be NULL here.
author Elliott Sales de Andrade <qulogic@pidgin.im>
date Sun, 22 Aug 2010 06:15:30 +0000
parents cb16239deeec
children c60c9c95bb00
files libpurple/protocols/msn/contact.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/msn/contact.c	Sat Aug 21 21:55:05 2010 +0000
+++ b/libpurple/protocols/msn/contact.c	Sun Aug 22 06:15:30 2010 +0000
@@ -1565,7 +1565,7 @@
 	
 	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);