# HG changeset patch # User Sean Egan # Date 1149555046 0 # Node ID 18808a4c99b08312e160ce604d3ffc83ffc93181 # Parent 25a09aff5ddecb8e3bdcc81b447cb754f413e1db [gaim-migrate @ 16223] bug fix committer: Tailor Script diff -r 25a09aff5dde -r 18808a4c99b0 src/protocols/jabber/jabber.c --- 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;