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

fix debugf

This commit is contained in:
Zackary Scholl 2025-03-24 18:11:49 -07:00
parent 1008cee00b
commit a73895ae65

View file

@ -1076,7 +1076,7 @@ func (c *Client) Receive() (err error) {
conn, banner2, externalIP, errConn := tcp.ConnectToTCPServer(serverTry, c.Options.RelayPassword, c.Options.RoomName, 500*time.Millisecond) conn, banner2, externalIP, errConn := tcp.ConnectToTCPServer(serverTry, c.Options.RelayPassword, c.Options.RoomName, 500*time.Millisecond)
if errConn != nil { if errConn != nil {
log.Debug(errConn) log.Debug(errConn)
log.Debugf("could not connect to " + serverTry) log.Debug("could not connect to " + serverTry)
continue continue
} }
log.Debugf("local connection established to %s", serverTry) log.Debugf("local connection established to %s", serverTry)