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} ->
Stats;
{error, {eperm, _}} -> % TODO: review/fix this logic
[];
{ok, []};
_ ->
[]
{ok, []}
end.
%% @doc Register an asynchronous callback