const QChar L = QLatin1Char('|');
_out << ts << L;
_out << QString::number(item._requestDuration) << L;
- if( item.log._instruction != CSYNC_INSTRUCTION_RENAME ) {
+ if( item._instruction != CSYNC_INSTRUCTION_RENAME ) {
_out << item._file << L;
} else {
_out << item._file << QLatin1String(" -> ") << item._renameTarget << L;
}
- _out << instructionToStr( item.log._instruction ) << L;
+ _out << instructionToStr( item._instruction ) << L;
_out << directionToStr( item._direction ) << L;
- _out << QString::number(item.log._modtime) << L;
- _out << item.log._etag << L;
- _out << QString::number(item.log._size) << L;
- _out << item.log._fileId << L;
+ _out << QString::number(item._modtime) << L;
+ _out << item._etag << L;
+ _out << QString::number(item._size) << L;
+ _out << item._fileId << L;
_out << item._status << L;
_out << item._errorString << L;
_out << QString::number(item._httpErrorCode) << L;
_needsUpdate = true;
- item->log._etag = file->etag;
- item->log._fileId = file->file_id;
- item->log._instruction = file->instruction;
- item->log._modtime = file->modtime;
- item->log._size = file->size;
-
item->log._other_etag = file->other.etag;
item->log._other_fileId = file->other.file_id;
item->log._other_instruction = file->other.instruction;
QString _directDownloadCookies;
struct {
- quint64 _size;
- time_t _modtime;
- QByteArray _etag;
- QByteArray _fileId;
quint64 _other_size;
time_t _other_modtime;
QByteArray _other_etag;
QByteArray _other_fileId;
- enum csync_instructions_e _instruction BITFIELD(16);
enum csync_instructions_e _other_instruction BITFIELD(16);
} log;
};