Fix bug in tar.js caused by missing this on a variable.

This commit is contained in:
Jamison Dance 2011-10-22 01:12:59 -06:00
parent 4763e4c2c3
commit 7f450b58e1

View file

@ -82,7 +82,7 @@
// this makes sense if the input is greater than 512 bytes
if (headerArr.length + input.length > this.out.length) {
this.out = utils.extend(out, headerArr.length, input.length, blockSize);
this.out = utils.extend(this.out, headerArr.length, input.length, blockSize);
}
this.out.set(input, this.written);