# HG changeset patch # User Elliott Sales de Andrade # Date 1229394093 0 # Node ID 25667ca518d6d201c0d81e6735885f0fe90a1247 # Parent cf626850031fa86bd6c159e86ca506755a336234 Do something sane if the response is NULL when updating contact tokens, like say, if we were disconnected or disabled during the SOAP request. Fixes #7792. diff -r cf626850031f -r 25667ca518d6 libpurple/protocols/msn/nexus.c --- a/libpurple/protocols/msn/nexus.c Mon Dec 15 04:35:27 2008 +0000 +++ b/libpurple/protocols/msn/nexus.c Tue Dec 16 02:21:33 2008 +0000 @@ -434,6 +434,9 @@ #endif char *decrypted_data; + if (resp == NULL) + return; + purple_debug_info("msn", "Got Update Response for %s.\n", ticket_domains[ud->id][SSO_VALID_TICKET_DOMAIN]); enckey = xmlnode_get_child(resp->xml, "Header/Security/DerivedKeyToken");