diff libpurple/protocols/jabber/buddy.c @ 20814:bde477ec6a71

Stop jabber setting wants_to_die itself. This involved plumbing disconnection reasons into jabber_parse_error in a slightly dubious fashion. I'd appreciate someone sanity-checking this rev.
author Will Thompson <will.thompson@collabora.co.uk>
date Tue, 09 Oct 2007 13:32:58 +0000
parents ab3c87375b17
children e747ac0c42d6
line wrap: on
line diff
--- a/libpurple/protocols/jabber/buddy.c	Tue Oct 09 13:25:47 2007 +0000
+++ b/libpurple/protocols/jabber/buddy.c	Tue Oct 09 13:32:58 2007 +0000
@@ -2334,7 +2334,7 @@
 		return;
 
 	if(!(type = xmlnode_get_attrib(packet, "type")) || !strcmp(type, "error")) {
-		char *msg = jabber_parse_error(js, packet);
+		char *msg = jabber_parse_error(js, packet, NULL);
 
 		if(!msg)
 			msg = g_strdup(_("Unknown error"));