From 97a7e46595a22ac94ea29dfb633e41ef55e19e95 Mon Sep 17 00:00:00 2001 From: Klaas Freitag Date: Thu, 23 Aug 2012 17:18:35 +0300 Subject: [PATCH] Set to INSTRUCTION_UPDATED only for NONE instructions. --- src/csync_propagate.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/csync_propagate.c b/src/csync_propagate.c index 32a8807b64..38c2c25b20 100644 --- a/src/csync_propagate.c +++ b/src/csync_propagate.c @@ -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; }