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),
receive
?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 ->
reply(From, notfound);
{found, Result} ->