mirror of
https://github.com/schollz/croc.git
synced 2025-10-11 21:30:16 +02:00
print other
This commit is contained in:
parent
2e545e6594
commit
5ca6a6455e
1 changed files with 3 additions and 3 deletions
|
@ -352,12 +352,12 @@ func (c *Croc) dialUp() (err error) {
|
|||
if i == 0 {
|
||||
c.cs.Lock()
|
||||
c.bar = progressbar.NewOptions(c.cs.channel.fileMetaData.Size, progressbar.OptionSetWriter(os.Stderr))
|
||||
c.cs.Unlock()
|
||||
if role == 0 {
|
||||
fmt.Fprintf(os.Stderr, "\nSending...\n")
|
||||
fmt.Fprintf(os.Stderr, "\nSending (->%s)...\n", c.cs.channel.Addresses[1])
|
||||
} else {
|
||||
fmt.Fprintf(os.Stderr, "\nReceiving...\n")
|
||||
fmt.Fprintf(os.Stderr, "\nReceiving (<-%s)...\n", c.cs.channel.Addresses[0])
|
||||
}
|
||||
c.cs.Unlock()
|
||||
}
|
||||
|
||||
if role == 0 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue