# HG changeset patch # User Elliott Sales de Andrade # Date 1228634922 0 # Node ID 3915331092b2951c303a05bbb1f7fa0e73b3ec0f # Parent 4fd22591e3f01d99b6fbf9e94b9918ac3cd612fa Deleting a contact without a ContactId doesn't work, so don't bother the server with it. diff -r 4fd22591e3f0 -r 3915331092b2 libpurple/protocols/msn/contact.c --- a/libpurple/protocols/msn/contact.c Sun Dec 07 07:09:57 2008 +0000 +++ b/libpurple/protocols/msn/contact.c Sun Dec 07 07:28:42 2008 +0000 @@ -1179,8 +1179,8 @@ contact_id_xml = g_strdup_printf(MSN_CONTACT_ID_XML, user->uid); purple_debug_info("msn", "Deleting contact with contactId: %s\n", user->uid); } else { - contact_id_xml = g_strdup_printf(MSN_CONTACT_XML, user->passport); - purple_debug_info("msn", "Deleting contact with passport: %s\n", user->passport); + purple_debug_info("msn", "Unable to delete contact %s without a ContactId\n", user->passport); + return; } state = msn_callback_state_new(session);