Skip to content

Commit

Permalink
acme.Win.Info: fill in Tag field
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobvosmaer committed Nov 26, 2023
1 parent ff0314d commit 48951ee
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions acme/acme.go
Original file line number Diff line number Diff line change
Expand Up @@ -453,6 +453,15 @@ func (w *Win) Info() (WinInfo, error) {
); err != nil {
return WinInfo{}, fmt.Errorf("invalid ctl contents %q: %v", line, err)
}
f, err = w.fid("tag")
if err != nil {
return WinInfo{}, err
}
tag := make([]byte, info.TagLen)
if _, err := f.ReadFull(tag); err != nil {
return WinInfo{}, err
}
info.Tag = string(tag)
return info, nil
}

Expand Down

0 comments on commit 48951ee

Please sign in to comment.