diff options
author | Andrew Gallant <jamslam@gmail.com> | 2016-03-29 16:23:18 -0400 |
---|---|---|
committer | Přemysl Janouch <p@janouch.name> | 2018-09-08 16:49:25 +0200 |
commit | 1614b58c420f7875f92a5469c77fd7aeccc7a106 (patch) | |
tree | bccb47fefebc03e48c39ab96be807faa0fd15442 /nexgb/auth.go | |
parent | 8d343cfd3a12d910d6a663f2d5f2cd4a41d88ce2 (diff) | |
download | haven-1614b58c420f7875f92a5469c77fd7aeccc7a106.tar.gz haven-1614b58c420f7875f92a5469c77fd7aeccc7a106.tar.xz haven-1614b58c420f7875f92a5469c77fd7aeccc7a106.zip |
fix structs with field name of 'Bytes'
(it conflict with a method of the same name that is generated for
all such structs)
Diffstat (limited to 'nexgb/auth.go')
-rw-r--r-- | nexgb/auth.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/nexgb/auth.go b/nexgb/auth.go index 62a9b35..ec51d10 100644 --- a/nexgb/auth.go +++ b/nexgb/auth.go @@ -76,7 +76,8 @@ func readAuthority(hostname, display string) ( return "", nil, err } - addrmatch := (family == familyWild) || (family == familyLocal && addr == hostname) + addrmatch := (family == familyWild) || + (family == familyLocal && addr == hostname) dispmatch := (disp == "") || (disp == display) if addrmatch && dispmatch { |