fix full (first) upload brokenness

This commit is contained in:
Dan Mills 2008-03-07 04:49:56 -08:00
parent 056dc3d2eb
commit 0b431a8016

View File

@ -659,11 +659,10 @@ Engine.prototype = {
let self = yield;
let ret = false;
let gen = Crypto.PBEencrypt.async(Crypto, self.cb,
this._snapshot.serialize(),
this._cryptoId);
Crypto.PBEencrypt.async(Crypto, self.cb,
this._snapshot.serialize(),
this._cryptoId);
let data = yield;
if (gen.failed) throw "Encryption failed.";
this._dav.PUT(this.snapshotFile, data, self.cb);
resp = yield;