Mercurial > pidgin.yaz
diff libpurple/protocols/msn/nexus.c @ 24729:25667ca518d6
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.
author | Elliott Sales de Andrade <qulogic@pidgin.im> |
---|---|
date | Tue, 16 Dec 2008 02:21:33 +0000 |
parents | 019d5ae3ad72 |
children | 6a0304f317cf |
line wrap: on
line diff
--- 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");