commit 9c90a882b181c1a44ffd64092b3b3354b25afdca
parent 42701591ffa8aea9cda274b3c77c7a8f79b128fd
Author: parazyd <parazyd@dyne.org>
Date: Sun, 7 Mar 2021 22:45:06 +0100
cmd/tor-dam: Use x from internal scope.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/cmd/tor-dam/tor-dam.go b/cmd/tor-dam/tor-dam.go
@@ -170,7 +170,7 @@ func main() {
for _, i := range strings.Split(*seeds, ",") {
wg.Add(1)
go func(x string) {
- if err := tordam.Announce(i); err != nil {
+ if err := tordam.Announce(x); err != nil {
log.Println("error in announce:", err)
} else {
succ++