Discovery: Fix log output for instructions

This commit is contained in:
Christian Kamm 2018-10-19 11:23:50 +02:00 committed by Kevin Ottens
parent ce420d77a8
commit b431f4ef0c
No known key found for this signature in database
GPG key ID: 074BBBCB8DECC9E2

View file

@ -23,6 +23,7 @@
#include "vio/csync_vio_local.h"
#include "common/checksums.h"
#include "csync_exclude.h"
#include "csync_util.h"
namespace OCC {
@ -901,7 +902,7 @@ void ProcessDirectoryJob::processFileFinalize(
item->_direction = _dirItem->_direction;
}
qCInfo(lcDisco) << "Discovered" << item->_file << item->_instruction << item->_direction << item->_type;
qCInfo(lcDisco) << "Discovered" << item->_file << csync_instruction_str(item->_instruction) << item->_direction << item->_type;
if (item->isDirectory() && item->_instruction == CSYNC_INSTRUCTION_SYNC)
item->_instruction = CSYNC_INSTRUCTION_UPDATE_METADATA;