Removed old placeholders

stable
Justin Reichardt 2022-03-01 13:23:42 -06:00
parent 199c132db2
commit 2d19f1692d
1 changed files with 1 additions and 2 deletions

View File

@ -402,7 +402,6 @@ func removeduplicates(siteBuff *[]siteList, whitelist *[]string){
r *bool r *bool
s *string s *string
} }
_ = entry
for i := len((*siteBuff))-1; i > -1; i --{ for i := len((*siteBuff))-1; i > -1; i --{
for j := len((*siteBuff)[i].siteEntry)-1; j > -1; j -- { for j := len((*siteBuff)[i].siteEntry)-1; j > -1; j -- {
entryBuff.r = &((*siteBuff)[i].siteEntry[j].repeat) entryBuff.r = &((*siteBuff)[i].siteEntry[j].repeat)
@ -436,7 +435,7 @@ func removeduplicates(siteBuff *[]siteList, whitelist *[]string){
break break
} }
for j,n := range(entry[i+1:]){ 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 *(entry[i+j].r) = true
c.d ++ c.d ++
} }