Correct embarrasing typo wrt. use of do_lookup().

This commit is contained in:
Erik Søe Sørensen 2012-01-05 16:23:21 +01:00
parent 36816e261a
commit b9abf21bac

View file

@ -128,7 +128,7 @@ main_loop(State = #state{ next=Next }) ->
Parent = plain_fsm:info(parent), Parent = plain_fsm:info(parent),
receive receive
?REQ(From, {lookup, Key})=Req -> ?REQ(From, {lookup, Key})=Req ->
case do_lookup(Key, [State#state.b, State#state.b, Next]) of case do_lookup(Key, [State#state.b, State#state.a, Next]) of
notfound -> notfound ->
reply(From, notfound); reply(From, notfound);
{found, Result} -> {found, Result} ->