From 9b04f81666ec177098c11319433b390906d3daeb Mon Sep 17 00:00:00 2001 From: Con Kolivas Date: Fri, 13 Feb 2015 14:22:20 +1100 Subject: [PATCH] Set correct variable in update_diff --- src/stratifier.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/stratifier.c b/src/stratifier.c index d3682c86..0e6bd623 100644 --- a/src/stratifier.c +++ b/src/stratifier.c @@ -1322,7 +1322,7 @@ static void update_diff(ckpool_t *ckp, const char *cmd) ck_wlock(&dsdata->workbase_lock); old_diff = proxy->diff; - dsdata->current_workbase->diff = dsdata->proxy->diff = diff; + dsdata->current_workbase->diff = proxy->diff = diff; ck_wunlock(&dsdata->workbase_lock); if (old_diff < diff)