Fix compilation after merge

This commit is contained in:
Olivier Goffart 2014-12-01 14:41:39 +01:00
parent 512492bf30
commit fb3f5d86cf
2 changed files with 1 additions and 1 deletions

View file

@ -29,7 +29,6 @@
namespace Mirall {
headers["OC-Chunk-Size"]= QByteArray::number(quint64(chunkSize()));
// DOES NOT take owncership of the device.
GETFileJob::GETFileJob(Account* account, const QString& path, QFile *device,
const QMap<QByteArray, QByteArray> &headers, QByteArray expectedEtagForResume,

View file

@ -333,6 +333,7 @@ void PropagateUploadFileQNAM::startNextChunk()
QMap<QByteArray, QByteArray> headers;
headers["OC-Total-Length"] = QByteArray::number(fileSize);
headers["OC-Async"] = "1";
headers["OC-Chunk-Size"]= QByteArray::number(quint64(chunkSize()));
headers["Content-Type"] = "application/octet-stream";
headers["X-OC-Mtime"] = QByteArray::number(qint64(_item._modtime));
if (!_item._etag.isEmpty() && _item._etag != "empty_etag" &&