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),
|
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} ->
|
||||||
|
|
Loading…
Reference in a new issue