From 2d19f1692dbd875231c0560c610225ff64d65678 Mon Sep 17 00:00:00 2001 From: Justin Reichardt Date: Tue, 1 Mar 2022 13:23:42 -0600 Subject: [PATCH] Removed old placeholders --- src/rhosts.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/rhosts.go b/src/rhosts.go index b94fc9c..198ae5c 100644 --- a/src/rhosts.go +++ b/src/rhosts.go @@ -402,7 +402,6 @@ func removeduplicates(siteBuff *[]siteList, whitelist *[]string){ r *bool s *string } - _ = entry for i := len((*siteBuff))-1; i > -1; i --{ for j := len((*siteBuff)[i].siteEntry)-1; j > -1; j -- { entryBuff.r = &((*siteBuff)[i].siteEntry[j].repeat) @@ -436,7 +435,7 @@ func removeduplicates(siteBuff *[]siteList, whitelist *[]string){ break } for j,n := range(entry[i+1:]){ - if *e.s == *n.s || *e.s == "localhost" { + if *e.s == *n.s { *(entry[i+j].r) = true c.d ++ }