mirror of
https://github.com/FluuxIO/go-xmpp.git
synced 2026-04-28 17:52:55 -07:00
Refactor parsing / improve typing
This commit is contained in:
@@ -163,7 +163,7 @@ func bind(t *testing.T, c net.Conn, decoder *xml.Decoder) {
|
||||
return
|
||||
}
|
||||
|
||||
iq := &ClientIQ{}
|
||||
iq := &IQ{}
|
||||
// Decode element into pointer storage
|
||||
if err = decoder.DecodeElement(&iq, &se); err != nil {
|
||||
t.Errorf("cannot decode bind iq: %s", err)
|
||||
|
||||
Reference in New Issue
Block a user