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

more debug

This commit is contained in:
Zack Scholl 2019-05-02 20:44:25 -07:00
parent 09575a0c88
commit 5e8ef27b85

View file

@ -733,7 +733,7 @@ func (c *Client) setBar() {
byteToDo := int64(len(c.CurrentFileChunks) * models.TCP_BUFFER_SIZE / 2)
if byteToDo > 0 {
bytesDone := c.FilesToTransfer[c.FilesToTransferCurrentNum].Size -byteToDo
log.Debug(bytesToDo)
log.Debug(byteToDo)
log.Debug(c.FilesToTransfer[c.FilesToTransferCurrentNum].Size)
log.Debug(bytesDone)
if bytesDone > 0 {