Set to INSTRUCTION_UPDATED only for NONE instructions.

This commit is contained in:
Klaas Freitag 2012-08-23 17:18:35 +03:00
parent 7f7c2b977c
commit 97a7e46595

View file

@ -1118,7 +1118,7 @@ static int _csync_correct_id(CSYNC *ctx) {
} else {
tfs = c_rbtree_node_data(node);
tfs->md5 = _get_md5(ctx, path);
if( tfs->instruction != CSYNC_INSTRUCTION_UPDATED ) {
if( tfs->instruction == CSYNC_INSTRUCTION_NONE ) {
/* set instruction for the statedb merger */
tfs->instruction = CSYNC_INSTRUCTION_UPDATED;
}