tcmd/tor-dam: Use x from internal scope. - tordam - A library for peer discovery inside the Tor network HTML git clone https://git.parazyd.org/tordam DIR Log DIR Files DIR Refs DIR README DIR LICENSE --- DIR commit 9c90a882b181c1a44ffd64092b3b3354b25afdca DIR parent 42701591ffa8aea9cda274b3c77c7a8f79b128fd HTML Author: parazyd <parazyd@dyne.org> Date: Sun, 7 Mar 2021 22:45:06 +0100 cmd/tor-dam: Use x from internal scope. Diffstat: M cmd/tor-dam/tor-dam.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- DIR diff --git a/cmd/tor-dam/tor-dam.go b/cmd/tor-dam/tor-dam.go t@@ -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++