changeset 13804:18808a4c99b0

[gaim-migrate @ 16223] bug fix committer: Tailor Script <tailor@pidgin.im>
author Sean Egan <seanegan@gmail.com>
date Tue, 06 Jun 2006 00:50:46 +0000
parents 25a09aff5dde
children 853fefb07c79
files src/protocols/jabber/jabber.c
diffstat 1 files changed, 6 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/src/protocols/jabber/jabber.c	Sun Jun 04 08:19:51 2006 +0000
+++ b/src/protocols/jabber/jabber.c	Tue Jun 06 00:50:46 2006 +0000
@@ -1457,21 +1457,21 @@
 		if(xmlnode_get_child(packet, "aborted")) {
 			js->gc->wants_to_die = TRUE;
 			text = _("Authorization Aborted");
-		} else if(xmlnode_get_child(error, "incorrect-encoding")) {
+		} else if(xmlnode_get_child(packet, "incorrect-encoding")) {
 			text = _("Incorrect encoding in authorization");
-		} else if(xmlnode_get_child(error, "invalid-authzid")) {
+		} else if(xmlnode_get_child(packet, "invalid-authzid")) {
 			js->gc->wants_to_die = TRUE;
 			text = _("Invalid authzid");
-		} else if(xmlnode_get_child(error, "invalid-mechanism")) {
+		} else if(xmlnode_get_child(packet, "invalid-mechanism")) {
 			js->gc->wants_to_die = TRUE;
 			text = _("Invalid Authorization Mechanism");
-		} else if(xmlnode_get_child(error, "mechanism-too-weak")) {
+		} else if(xmlnode_get_child(packet, "mechanism-too-weak")) {
 			js->gc->wants_to_die = TRUE;
 			text = _("Authorization mechanism too weak");
-		} else if(xmlnode_get_child(error, "not-authorized")) {
+		} else if(xmlnode_get_child(packet, "not-authorized")) {
 			js->gc->wants_to_die = TRUE;
 			text = _("Not Authorized");
-		} else if(xmlnode_get_child(error, "temporary-auth-failure")) {
+		} else if(xmlnode_get_child(packet, "temporary-auth-failure")) {
 			text = _("Temporary Authentication Failure");
 		} else {
 			js->gc->wants_to_die = TRUE;