mirror of
https://github.com/schollz/croc.git
synced 2025-10-11 13:21:00 +02:00
get file size
This commit is contained in:
parent
41a245d609
commit
e2dde7d46f
1 changed files with 2 additions and 0 deletions
|
@ -488,7 +488,9 @@ func (c *Client) CreateOfferer(finished chan<- error) (pc *webrtc.PeerConnection
|
|||
fileSize = 0
|
||||
} else {
|
||||
log.Debugf("receiving file sized %d", fileSize)
|
||||
return
|
||||
}
|
||||
|
||||
}
|
||||
err = box.Unbundle(string(dcMsg.Data), c.Key, &fd)
|
||||
if err == nil {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue