forked from jshiffer/go-xmpp
Update error.go
Fix typo in comment
This commit is contained in:
parent
1971772394
commit
0ee4764d31
2
error.go
2
error.go
@ -27,7 +27,7 @@ func (x *Err) Namespace() string {
|
|||||||
return x.XMLName.Space
|
return x.XMLName.Space
|
||||||
}
|
}
|
||||||
|
|
||||||
// UnmarshalXML implements custom parsing for IQs
|
// UnmarshalXML implements custom parsing for XMPP errors
|
||||||
func (x *Err) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error {
|
func (x *Err) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error {
|
||||||
x.XMLName = start.Name
|
x.XMLName = start.Name
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user