Correct embarrasing typo wrt. use of do_lookup().
This commit is contained in:
parent
36816e261a
commit
b9abf21bac
1 changed files with 1 additions and 1 deletions
|
@ -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} ->
|
||||
|
|
Loading…
Reference in a new issue