Skip to content

Commit

Permalink
calling the wrong function
Browse files Browse the repository at this point in the history
  • Loading branch information
tonyrog committed Oct 10, 2012
1 parent 5bb6922 commit 2c65806
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lager_util.erl
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ check_f_traces(AttrFun, Level, [{_, FilterLevel, _}|Flows], Acc)
when Level > FilterLevel ->
check_f_traces(AttrFun, Level, Flows, Acc);
check_f_traces(AttrFun, Level, [Flow|Flows], Acc) ->
check_traces(AttrFun, Level, Flows, [check_f_trace(AttrFun, Flow)|Acc]).
check_f_traces(AttrFun, Level, Flows, [check_f_trace(AttrFun, Flow)|Acc]).

check_f_trace(AttrFun, {Filter, _Level, Dest}) ->
case lists:all(AttrFun, Filter) of
Expand Down

0 comments on commit 2c65806

Please sign in to comment.