Fix default tuple.

This commit is contained in:
Gregory Burd 2013-04-19 16:07:18 -04:00
parent e9145c344c
commit 17cfdcd04f

View file

@ -345,9 +345,9 @@ status(#state{status_cursor=Cursor}) ->
{ok, Stats} -> {ok, Stats} ->
Stats; Stats;
{error, {eperm, _}} -> % TODO: review/fix this logic {error, {eperm, _}} -> % TODO: review/fix this logic
[]; {ok, []};
_ -> _ ->
[] {ok, []}
end. end.
%% @doc Register an asynchronous callback %% @doc Register an asynchronous callback