mirror of
https://github.com/schollz/croc.git
synced 2025-10-11 21:30:16 +02:00
fix #493: data race in cli.relay
This commit is contained in:
parent
1851327df7
commit
40ac320261
1 changed files with 1 additions and 1 deletions
|
@ -470,7 +470,7 @@ func relay(c *cli.Context) (err error) {
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
go func(portStr string) {
|
go func(portStr string) {
|
||||||
err = tcp.Run(debugString, host, portStr, determinePass(c))
|
err := tcp.Run(debugString, host, portStr, determinePass(c))
|
||||||
if err != nil {
|
if err != nil {
|
||||||
panic(err)
|
panic(err)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue