Update dependency mattn/go-xmlrpc (#1091)

Signed-off-by: Fabian Heymann <fabian.heymann@finanzcheck.de>
This commit is contained in:
Fabian Heymann 2018-09-30 09:27:14 +02:00 committed by Ben Kochie
commit 2f381f0c44
2 changed files with 8 additions and 4 deletions

View file

@ -163,13 +163,17 @@ func next(p *xml.Decoder) (xml.Name, interface{}, error) {
case "array":
var ar Array
nextStart(p) // data
nextStart(p) // top of value
for {
nextStart(p) // top of value
_, value, e := next(p)
if e != nil {
break
}
ar = append(ar, value)
if reflect.ValueOf(value).Kind() != reflect.Map {
nextStart(p)
}
}
return xml.Name{}, ar, nil
case "nil":