Merge pull request #309 from carlnorum/uploadfix
Fix upload length update.
This commit is contained in:
commit
6e74727f9e
@ -451,8 +451,8 @@ function(
|
|||||||
} else if (ctx.verifyIntegrityPending !== d.verifyIntegrityPending) {
|
} else if (ctx.verifyIntegrityPending !== d.verifyIntegrityPending) {
|
||||||
ctx.verifyIntegrityPending = d.verifyIntegrityPending;
|
ctx.verifyIntegrityPending = d.verifyIntegrityPending;
|
||||||
}
|
}
|
||||||
if (ctx.uploadLength !== d.uploadength) {
|
if (ctx.uploadLength !== d.uploadLength) {
|
||||||
ctx.uploadLength = d.uploadlength;
|
ctx.uploadLength = d.uploadLength;
|
||||||
ctx.fmtUploadLength = utils.fmtsize(d.uploadLength);
|
ctx.fmtUploadLength = utils.fmtsize(d.uploadLength);
|
||||||
}
|
}
|
||||||
if (ctx.pieceLength !== d.pieceLength) {
|
if (ctx.pieceLength !== d.pieceLength) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user