summaryrefslogtreecommitdiff
path: root/vendor/golang.org/x/net/internal/socket/msghdr_linux.go
diff options
context:
space:
mode:
authorLibravatar dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>2022-11-08 11:11:35 +0100
committerLibravatar GitHub <noreply@github.com>2022-11-08 11:11:35 +0100
commita9a43beca238516d5296829d13982e96ad7f8f2c (patch)
tree216984f21c1142b7bb5a046f0dc9a53061f1dde5 /vendor/golang.org/x/net/internal/socket/msghdr_linux.go
parent[chore] dependabot: prefix correctly, ignore npm deps (#1001) (diff)
downloadgotosocial-a9a43beca238516d5296829d13982e96ad7f8f2c.tar.xz
[chore]: Bump github.com/microcosm-cc/bluemonday from 1.0.20 to 1.0.21 (#1004)
Bumps [github.com/microcosm-cc/bluemonday](https://github.com/microcosm-cc/bluemonday) from 1.0.20 to 1.0.21. - [Release notes](https://github.com/microcosm-cc/bluemonday/releases) - [Commits](https://github.com/microcosm-cc/bluemonday/compare/v1.0.20...v1.0.21) --- updated-dependencies: - dependency-name: github.com/microcosm-cc/bluemonday dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Diffstat (limited to 'vendor/golang.org/x/net/internal/socket/msghdr_linux.go')
-rw-r--r--vendor/golang.org/x/net/internal/socket/msghdr_linux.go3
1 files changed, 0 insertions, 3 deletions
diff --git a/vendor/golang.org/x/net/internal/socket/msghdr_linux.go b/vendor/golang.org/x/net/internal/socket/msghdr_linux.go
index c3c7cc4c8..5a38798cc 100644
--- a/vendor/golang.org/x/net/internal/socket/msghdr_linux.go
+++ b/vendor/golang.org/x/net/internal/socket/msghdr_linux.go
@@ -17,9 +17,6 @@ func (h *msghdr) pack(vs []iovec, bs [][]byte, oob []byte, sa []byte) {
if sa != nil {
h.Name = (*byte)(unsafe.Pointer(&sa[0]))
h.Namelen = uint32(len(sa))
- } else {
- h.Name = nil
- h.Namelen = 0
}
}