mirror of
https://github.com/chylex/Nextcloud-Desktop.git
synced 2025-04-21 17:15:45 +02:00
csync.reconciler: show the correct type: "file" or "dir"
This commit is contained in:
parent
deb620b5be
commit
9c40ecafc4
@ -240,17 +240,37 @@ static int _csync_merge_algorithm_visitor(void *obj, void *data) {
|
||||
//only show these messages on log level trace
|
||||
if(cur->instruction ==CSYNC_INSTRUCTION_NONE)
|
||||
{
|
||||
CSYNC_LOG(CSYNC_LOG_PRIORITY_TRACE,
|
||||
"%s file: %s",
|
||||
csync_instruction_str(cur->instruction),
|
||||
cur->path);
|
||||
if(cur->type == CSYNC_FTW_TYPE_DIR)
|
||||
{
|
||||
CSYNC_LOG(CSYNC_LOG_PRIORITY_TRACE,
|
||||
"%s dir: %s",
|
||||
csync_instruction_str(cur->instruction),
|
||||
cur->path);
|
||||
}
|
||||
else
|
||||
{
|
||||
CSYNC_LOG(CSYNC_LOG_PRIORITY_TRACE,
|
||||
"%s file: %s",
|
||||
csync_instruction_str(cur->instruction),
|
||||
cur->path);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
CSYNC_LOG(CSYNC_LOG_PRIORITY_DEBUG,
|
||||
"%s file: %s",
|
||||
csync_instruction_str(cur->instruction),
|
||||
cur->path);
|
||||
if(cur->type == CSYNC_FTW_TYPE_DIR)
|
||||
{
|
||||
CSYNC_LOG(CSYNC_LOG_PRIORITY_DEBUG,
|
||||
"%s dir: %s",
|
||||
csync_instruction_str(cur->instruction),
|
||||
cur->path);
|
||||
}
|
||||
else
|
||||
{
|
||||
CSYNC_LOG(CSYNC_LOG_PRIORITY_DEBUG,
|
||||
"%s file: %s",
|
||||
csync_instruction_str(cur->instruction),
|
||||
cur->path);
|
||||
}
|
||||
}
|
||||
|
||||
return 0;
|
||||
|
Loading…
Reference in New Issue
Block a user