0
0
Fork 0
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:
Zack Scholl 2019-11-13 09:14:46 -08:00
parent 41a245d609
commit e2dde7d46f

View file

@ -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 {