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

fix again

This commit is contained in:
Zack Scholl 2018-09-23 15:02:56 -07:00
parent 45fe9b422d
commit ba20bb63ca

View file

@ -100,7 +100,7 @@ func (c *Croc) Receive(codephrase string) (err error) {
if err == nil {
if resp.StatusCode == http.StatusOK {
// we connected, so use this
return c.sendReceive(discovered[0].Address, strings.TrimSpace(ports[0]), strings.TrimSpace(ports[1], "", codephrase, false, true)
return c.sendReceive(discovered[0].Address, strings.TrimSpace(ports[0]), strings.TrimSpace(ports[1]), "", codephrase, false, true)
}
} else {
log.Debugf("could not connect: %s", err.Error())