Skip to content

Instantly share code, notes, and snippets.

@guruz
Created October 27, 2014 14:50
Show Gist options
  • Save guruz/a94a94f1eb19560f6312 to your computer and use it in GitHub Desktop.
Save guruz/a94a94f1eb19560f6312 to your computer and use it in GitHub Desktop.
diff --git a/src/mirall/syncengine.cpp b/src/mirall/syncengine.cpp
index 1d87b3b..db632d2 100644
--- a/src/mirall/syncengine.cpp
+++ b/src/mirall/syncengine.cpp
@@ -325,7 +325,9 @@ int SyncEngine::treewalkFile( TREE_WALK_FILE *file, bool remote )
item._modtime = file->modtime;
} else {
if (file->instruction != CSYNC_INSTRUCTION_NONE) {
+ qDebug() << "ERROR: Instruction" << item._instruction << "vs" << file->instruction << "for" << fileUtf8;
Q_ASSERT(!"Instructions are both unequal NONE");
+ return -1;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment