0
0
Fork 0
mirror of https://github.com/schollz/croc.git synced 2025-10-11 13:21:00 +02:00

fix broadcast

This commit is contained in:
Zack Scholl 2018-06-24 06:16:52 -07:00
parent 3c22789e3b
commit 67bceee220

View file

@ -229,7 +229,6 @@ func (c *Connection) Run() error {
}
// broadcast local connection from sender
if c.Server == "" {
log.Debug("settings payload to ", c.Code)
go func() {
log.Debug("listening for local croc relay...")
@ -241,8 +240,6 @@ func (c *Connection) Run() error {
})
runClientError <- c.runClient("localhost")
}()
}
}
log.Debug("checking code validity")