summaryrefslogtreecommitdiff
path: root/whois.go
diff options
context:
space:
mode:
Diffstat (limited to 'whois.go')
-rw-r--r--whois.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/whois.go b/whois.go
index c6838e1..f49dcbc 100644
--- a/whois.go
+++ b/whois.go
@@ -48,7 +48,7 @@ func findASAndIPBlock(domains ...string) (pairs map[string]string, err error) {
}
lines := strings.Split(res, "\n")
- pairs = make(map[string]string, 0, len(lines)-2)
+ pairs = make(map[string]string, len(lines)-2)
for ix, line := range lines[1 : len(lines)-1] {
content := strings.Split(line, "|")
ipb := strings.TrimSpace(content[2])