Fixes reading of textual content file for REP blocks.

In the default case of using binary content files this bug has no effect.
This commit is contained in:
Andrea Mazzoleni 2014-06-05 22:44:59 +02:00
parent 7e119f26bc
commit 1063677959

View file

@ -1298,7 +1298,7 @@ static void state_read_text(struct snapraid_state* state, const char* path, STRE
case 'c' :
block_state_set(block, BLOCK_STATE_CHG);
break;
case 'p' :
case 'r' :
block_state_set(block, BLOCK_STATE_REP);
break;
}