update github.com/godbus/dbus to latest master (#1305)
* update github.com/godbus/dbus to 271e53dc4968a0f8862f20841cc63bb5f43d6c57 Signed-off-by: Theo Brigitte <theo.brigitte@gmail.com>
This commit is contained in:
parent
dbe7badc7c
commit
4d88761c13
8 changed files with 28 additions and 13 deletions
2
vendor/github.com/godbus/dbus/decoder.go
generated
vendored
2
vendor/github.com/godbus/dbus/decoder.go
generated
vendored
|
|
@ -189,7 +189,7 @@ func (dec *decoder) decode(s string, depth int) interface{} {
|
|||
panic(FormatError("input exceeds container depth limit"))
|
||||
}
|
||||
length := dec.decode("u", depth).(uint32)
|
||||
v := reflect.MakeSlice(reflect.SliceOf(typeFor(s[1:])), 0, int(length))
|
||||
v := reflect.MakeSlice(reflect.SliceOf(typeFor(s[1:])), 0, 0)
|
||||
// Even for empty arrays, the correct padding must be included
|
||||
align := alignment(typeFor(s[1:]))
|
||||
if len(s) > 1 && s[1] == '(' {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue