pidgin: cd296a8e: Do something sane if the response is NUL...
qulogic at pidgin.im
qulogic at pidgin.im
Mon Dec 15 21:30:58 EST 2008
-----------------------------------------------------------------
Revision: cd296a8ef14b597780af9c7d28af18a4913c252c
Ancestor: eeaf58d4c47c6af0108ab03a8b6718dd51e9b487
Author: qulogic at pidgin.im
Date: 2008-12-16T02:21:33
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/cd296a8ef14b597780af9c7d28af18a4913c252c
Modified files:
libpurple/protocols/msn/nexus.c
ChangeLog:
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.
-------------- next part --------------
============================================================
--- libpurple/protocols/msn/nexus.c d2d43d8ec8a6681ce0088b194d5cc1c9040b2b78
+++ libpurple/protocols/msn/nexus.c 109063bcb2ba8803eb8a0ca5ee5ad45416a6758b
@@ -434,6 +434,9 @@ nexus_got_update_cb(MsnSoapMessage *req,
#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");
More information about the Commits
mailing list