Created
October 27, 2014 14:50
-
-
Save guruz/a94a94f1eb19560f6312 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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