mirror of
https://github.com/schollz/croc.git
synced 2025-10-11 13:21:00 +02:00
fix again
This commit is contained in:
parent
45fe9b422d
commit
ba20bb63ca
1 changed files with 1 additions and 1 deletions
|
@ -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())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue