Repository: incubator-mynewt-newt Updated Branches: refs/heads/develop f0d8ce88d -> 5ea588b82
newtmgr; fix hasty previous commit. Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-newt/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-newt/commit/5ea588b8 Tree: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-newt/tree/5ea588b8 Diff: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-newt/diff/5ea588b8 Branch: refs/heads/develop Commit: 5ea588b82d389d5e759ae4cd0b2067170169bf3a Parents: f0d8ce8 Author: Marko Kiiskila <ma...@runtime.io> Authored: Wed Oct 5 14:55:23 2016 -0700 Committer: Marko Kiiskila <ma...@runtime.io> Committed: Wed Oct 5 14:55:23 2016 -0700 ---------------------------------------------------------------------- newtmgr/core/core_convert.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-mynewt-newt/blob/5ea588b8/newtmgr/core/core_convert.go ---------------------------------------------------------------------- diff --git a/newtmgr/core/core_convert.go b/newtmgr/core/core_convert.go index ea10195..4b52a31 100644 --- a/newtmgr/core/core_convert.go +++ b/newtmgr/core/core_convert.go @@ -66,7 +66,7 @@ func NewCoreConvert() *CoreConvert { } func (cc *CoreConvert) readHdr() error { - var hdr coreDumpHdr + var hdr CoreDumpHdr hdr_buf := make([]byte, binary.Size(hdr)) if hdr_buf == nil { @@ -90,8 +90,8 @@ func (cc *CoreConvert) readHdr() error { return nil } -func (cc *CoreConvert) readTlv() (*coreDumpTlv, error) { - var tlv coreDumpTlv +func (cc *CoreConvert) readTlv() (*CoreDumpTlv, error) { + var tlv CoreDumpTlv tlv_buf := make([]byte, binary.Size(tlv)) if tlv_buf == nil {