mirror of https://github.com/schollz/croc.git
more debug
This commit is contained in:
parent
09575a0c88
commit
5e8ef27b85
|
@ -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…
Reference in New Issue