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

receiving file works

This commit is contained in:
Zack Scholl 2018-06-29 22:07:33 -07:00
parent 98374c31cd
commit 6e27bfebdd
7 changed files with 416 additions and 70 deletions

View file

@ -16,7 +16,7 @@ func main() {
if *role == -1 {
err = c.Relay()
} else if *role == 0 {
err = c.Send("foo", *passphrase)
err = c.Send("croc.exe", *passphrase)
} else {
err = c.Receive(*passphrase)
}