Skip to content

Commit

Permalink
gofumpt --extra
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewkroh committed May 20, 2024
1 parent b5915b8 commit 511aa33
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions auparse/sockaddr.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,8 @@ import (
"strconv"
)

var (
// errInvalidSockAddrSize means socket address size is invalid.
errInvalidSockAddrSize = errors.New("invalid socket address size")
)
// errInvalidSockAddrSize means socket address size is invalid.
var errInvalidSockAddrSize = errors.New("invalid socket address size")

func parseSockaddr(s string) (map[string]string, error) {
if len(s) < 4 {
Expand Down

0 comments on commit 511aa33

Please sign in to comment.