diff options
| author | Andrew Gallant <[email protected]> | 2016-03-29 16:23:18 -0400 |
|---|---|---|
| committer | Andrew Gallant <[email protected]> | 2016-03-29 16:23:18 -0400 |
| commit | b3a96fa0bc5f20dd08ed8342359a31b64bd761fa (patch) | |
| tree | 05e13ac8d1a42349b766b0abd6d2a55b5ee3986f /auth.go | |
| parent | 5d9015c16e326c446bad9da7b29698d659069af5 (diff) | |
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 'auth.go')
| -rw-r--r-- | auth.go | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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 { |
