From 188e3f03c75a4a5b99d419ca44a9684ca9d7bcad Mon Sep 17 00:00:00 2001 From: Silvano Luciani Date: Mon, 7 Dec 2015 13:34:52 -0800 Subject: [PATCH] Use 'any' to read cause of sasl failure. --- xmpp.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xmpp.go b/xmpp.go index ca05e6b..762aa99 100644 --- a/xmpp.go +++ b/xmpp.go @@ -676,7 +676,7 @@ type saslSuccess struct { type saslFailure struct { 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