Change the current workbase diff when the parent pool diff changes

This commit is contained in:
Con Kolivas 2014-05-18 20:41:55 +10:00
parent e36e5ce010
commit 09cf4f984e

View File

@ -562,7 +562,7 @@ static void update_diff(ckpool_t *ckp)
json_decref(val);
ck_wlock(&workbase_lock);
proxy_base.diff = diff;
current_workbase->diff = proxy_base.diff = diff;
ck_wunlock(&workbase_lock);
}