diff --git a/include/ircd/ctx/when.h b/include/ircd/ctx/when.h index 988b654d8..404f041ac 100644 --- a/include/ircd/ctx/when.h +++ b/include/ircd/ctx/when.h @@ -79,7 +79,7 @@ ircd::ctx::when_any(it first, when::set_any_then(p, first, closure); if(refcount(p.state()) <= 1) - p.set_value(first); + p.set_value(last); return ret; }