Simple version of index_add

This commit is contained in:
Carlos Martín Nieto
2013-05-03 14:05:00 +02:00
parent a5bbfa681b
commit 3f4d51c0e1
8 changed files with 82 additions and 30 deletions

View File

@@ -139,9 +139,8 @@ handle_call(stop, _From, State) ->
handle_call(revwalk, _From, State = #state{handle=Handle}) ->
Reply = handle_revwalk(Handle),
{reply, Reply, State};
handle_call(_Request, _From, State) ->
Reply = {error, "Unkown call"},
{reply, Reply, State}.
handle_call(handle, _From, State = #state{handle=Handle}) ->
{reply, Handle, State}.
%% @private
handle_cast(_Msg, State) ->