mirror of
https://github.com/schollz/croc.git
synced 2025-10-11 13:21:00 +02:00
more debug
This commit is contained in:
parent
09575a0c88
commit
5e8ef27b85
1 changed files with 1 additions and 1 deletions
|
@ -733,7 +733,7 @@ func (c *Client) setBar() {
|
||||||
byteToDo := int64(len(c.CurrentFileChunks) * models.TCP_BUFFER_SIZE / 2)
|
byteToDo := int64(len(c.CurrentFileChunks) * models.TCP_BUFFER_SIZE / 2)
|
||||||
if byteToDo > 0 {
|
if byteToDo > 0 {
|
||||||
bytesDone := c.FilesToTransfer[c.FilesToTransferCurrentNum].Size -byteToDo
|
bytesDone := c.FilesToTransfer[c.FilesToTransferCurrentNum].Size -byteToDo
|
||||||
log.Debug(bytesToDo)
|
log.Debug(byteToDo)
|
||||||
log.Debug(c.FilesToTransfer[c.FilesToTransferCurrentNum].Size)
|
log.Debug(c.FilesToTransfer[c.FilesToTransferCurrentNum].Size)
|
||||||
log.Debug(bytesDone)
|
log.Debug(bytesDone)
|
||||||
if bytesDone > 0 {
|
if bytesDone > 0 {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue