Use 'any' to read cause of sasl failure.

This commit is contained in:
Silvano Luciani 2015-12-07 13:34:52 -08:00
parent d86062634d
commit 188e3f03c7

View File

@ -676,7 +676,7 @@ type saslSuccess struct {
type saslFailure struct { type saslFailure struct {
XMLName xml.Name `xml:"urn:ietf:params:xml:ns:xmpp-sasl failure"` XMLName xml.Name `xml:"urn:ietf:params:xml:ns:xmpp-sasl failure"`
Any xml.Name Any xml.Name `xml:",any"`
} }
// RFC 3920 C.5 Resource binding name space // RFC 3920 C.5 Resource binding name space