comparison src/protocols/jabber/jabber.c @ 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 c10237fd961c
children 25e63008d3bb
comparison
equal deleted inserted replaced
13803:25a09aff5dde 13804:18808a4c99b0
1455 } 1455 }
1456 } else if(xmlns && !strcmp(xmlns, "urn:ietf:params:xml:ns:xmpp-sasl")) { 1456 } else if(xmlns && !strcmp(xmlns, "urn:ietf:params:xml:ns:xmpp-sasl")) {
1457 if(xmlnode_get_child(packet, "aborted")) { 1457 if(xmlnode_get_child(packet, "aborted")) {
1458 js->gc->wants_to_die = TRUE; 1458 js->gc->wants_to_die = TRUE;
1459 text = _("Authorization Aborted"); 1459 text = _("Authorization Aborted");
1460 } else if(xmlnode_get_child(error, "incorrect-encoding")) { 1460 } else if(xmlnode_get_child(packet, "incorrect-encoding")) {
1461 text = _("Incorrect encoding in authorization"); 1461 text = _("Incorrect encoding in authorization");
1462 } else if(xmlnode_get_child(error, "invalid-authzid")) { 1462 } else if(xmlnode_get_child(packet, "invalid-authzid")) {
1463 js->gc->wants_to_die = TRUE; 1463 js->gc->wants_to_die = TRUE;
1464 text = _("Invalid authzid"); 1464 text = _("Invalid authzid");
1465 } else if(xmlnode_get_child(error, "invalid-mechanism")) { 1465 } else if(xmlnode_get_child(packet, "invalid-mechanism")) {
1466 js->gc->wants_to_die = TRUE; 1466 js->gc->wants_to_die = TRUE;
1467 text = _("Invalid Authorization Mechanism"); 1467 text = _("Invalid Authorization Mechanism");
1468 } else if(xmlnode_get_child(error, "mechanism-too-weak")) { 1468 } else if(xmlnode_get_child(packet, "mechanism-too-weak")) {
1469 js->gc->wants_to_die = TRUE; 1469 js->gc->wants_to_die = TRUE;
1470 text = _("Authorization mechanism too weak"); 1470 text = _("Authorization mechanism too weak");
1471 } else if(xmlnode_get_child(error, "not-authorized")) { 1471 } else if(xmlnode_get_child(packet, "not-authorized")) {
1472 js->gc->wants_to_die = TRUE; 1472 js->gc->wants_to_die = TRUE;
1473 text = _("Not Authorized"); 1473 text = _("Not Authorized");
1474 } else if(xmlnode_get_child(error, "temporary-auth-failure")) { 1474 } else if(xmlnode_get_child(packet, "temporary-auth-failure")) {
1475 text = _("Temporary Authentication Failure"); 1475 text = _("Temporary Authentication Failure");
1476 } else { 1476 } else {
1477 js->gc->wants_to_die = TRUE; 1477 js->gc->wants_to_die = TRUE;
1478 text = _("Authentication Failure"); 1478 text = _("Authentication Failure");
1479 } 1479 }