Skip to content

Commit f86cc72

Browse files
authored
Remove early return statement
1 parent 6943e19 commit f86cc72

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

ch-5/subdomain_guesser/main.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ func lookupA(fqdn, serverAddr string) ([]string, error) {
2525
for _, answer := range in.Answer {
2626
if a, ok := answer.(*dns.A); ok {
2727
ips = append(ips, a.A.String())
28-
return ips, nil
2928
}
3029
}
3130
return ips, nil

0 commit comments

Comments
 (0)