Skip to content

Commit

Permalink
fix options parser
Browse files Browse the repository at this point in the history
  • Loading branch information
angelnu committed Jun 6, 2021
1 parent 662bee2 commit fe3d190
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/resolv/resolv.go
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ func parse(f io.Reader) (Resolver, error) {
case "options":
for _, s := range rest {
s := strings.TrimSpace(s)
s_parts := strings.SplitN(line, ":", 2)
s_parts := strings.SplitN(s, ":", 2)

option := ResolverOption{
Name: s_parts[0],
Expand Down

0 comments on commit fe3d190

Please sign in to comment.