anchor.diff:  		when TS >= Start, TS =< End ->
   	case lists:member(Type, Types) of
   		true ->
  -			acct_query2(Start, End, Protocol, Types, AttrsMatch,
  -					{Cont, Chunk}, Acc, AttrsMatch);
  +			acct_query2(Start, End, Protocol, Types,
  +					AttrsMatch, {Cont, Chunk}, Acc, AttrsMatch);
   		false ->
  -			acct_query1(Start, End, Protocol, Types, AttrsMatch, {Cont, T}, Acc)
  +			acct_query1(Start, End, Protocol, Types,
  +					AttrsMatch, {Cont, T}, Acc)
   	end;
   acct_query1(Start, End, Protocol, Types, AttrsMatch, {Cont, [_ | T]}, Acc) ->
   	acct_query1(Start, End, Protocol, Types, AttrsMatch, {Cont, T}, Acc);
   acct_query1(_Start, _End, _Protocol, _Types, _AttrsMatch, {eof, []}, Acc) ->
  -	lists:reverse(Acc);
  -acct_query1(Start, End, Protocol, Types, AttrsMatch, {Cont, []}, Acc) ->
  -	acct_query1(Start, End, Protocol, Types, AttrsMatch,
  -			disk_log:chunk(?AUTHLOG, Cont), Acc).
  +	{eof, lists:reverse(Acc)};
  +acct_query1(_, _, _, _, _, {Cont, []}, Acc) ->
  +	{Cont, lists:reverse(Acc)}.
   %% @hidden
   acct_query2(Start, End, Protocol, Types, '_', {Cont, [H | T]}, Acc, '_') ->
   	acct_query1(Start, End, Protocol, Types, '_', {Cont, T}, [H | Acc]);
  
positive.code: 		AttrsMatch :: [{Attribute, Match}] | '_',
  		Attribute :: byte(),
  		Match :: term() | '_',
  		Result :: [term()].
  %% @doc Query accounting log events with filters.
  %%
  %% 	Events before `Start' or after `Stop', or which do not match
  %% 	the `Protocol' or one of the `Types', are ignored.
  
negative.code: 		RespAttrsMatch :: [{Attribute, Match}] | '_',
  		Attribute :: byte(),
  		Match :: term() | '_',
  		Result :: {Continuation2, Events} | {eof, Events} | {error, Reason},
  		Continuation2 :: disk_log:continuation(),
  		Events :: [auth_event()],
  		Reason :: term().
  %% @doc Query access log events with filters.
  %% @equiv auth_query(Continuation, Start, End, radius, Types, ReqAttrsMatch, RespAttrsMatch)
  auth_query(Continuation, Start, End, Types, ReqAttrsMatch, RespAttrsMatch) ->
  	auth_query(Continuation, Start, End, radius, Types,
  			ReqAttrsMatch, RespAttrsMatch).
  
  -spec auth_query(Continuation, Start, End, Protocol, Types,
  		ReqAttrsMatch, RespAttrsMatch) -> Result
  	when
  		Continuation :: start | disk_log:continuation(),
  		Start :: calendar:datetime() | pos_integer(),
  		End :: calendar:datetime() | pos_integer(),
  		Protocol :: radius | diameter | '_',
  