From 0583799ad0d50377289179aa7cca3a63334380dc Mon Sep 17 00:00:00 2001 From: Andrea Mazzoleni Date: Sat, 27 Sep 2014 00:23:05 +0200 Subject: [PATCH] Avoids fake identation. --- cmdline/sync.c | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/cmdline/sync.c b/cmdline/sync.c index 3e82e847..e483a0a6 100644 --- a/cmdline/sync.c +++ b/cmdline/sync.c @@ -82,7 +82,9 @@ static int state_hash_process(struct snapraid_state* state, block_off_t blocksta countsize = 0; countpos = 0; - if (state_progress_begin(state, blockstart, blockmax, countmax)) + if (!state_progress_begin(state, blockstart, blockmax, countmax)) + goto end; + for(j=0;j