aboutsummaryrefslogtreecommitdiffstats
path: root/lib/sasl
diff options
context:
space:
mode:
authorKostis Sagonas <[email protected]>2010-02-06 11:38:09 +0100
committerBjörn Gustavsson <[email protected]>2010-02-16 13:24:55 +0100
commitc3946543672ea737e5f81f1de400011b9128a555 (patch)
tree571a46c51af77af6422b38255578b9099fad98c1 /lib/sasl
parentb8527e1833a40112302f71f541763e4c9e3e2755 (diff)
downloadotp-c3946543672ea737e5f81f1de400011b9128a555.tar.gz
otp-c3946543672ea737e5f81f1de400011b9128a555.tar.bz2
otp-c3946543672ea737e5f81f1de400011b9128a555.zip
sasl: Eliminate tuple used as fun
Diffstat (limited to 'lib/sasl')
-rw-r--r--lib/sasl/src/sasl.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/sasl/src/sasl.erl b/lib/sasl/src/sasl.erl
index 979d80159e..9263f48311 100644
--- a/lib/sasl/src/sasl.erl
+++ b/lib/sasl/src/sasl.erl
@@ -126,13 +126,13 @@ type(_) -> all.
add_error_logger_mf(undefined) -> ok;
add_error_logger_mf({Dir, MaxB, MaxF}) ->
error_logger:add_report_handler(
- log_mf_h, log_mf_h:init(Dir, MaxB, MaxF, {sasl, pred})).
+ log_mf_h, log_mf_h:init(Dir, MaxB, MaxF, fun pred/1)).
delete_error_logger_mf(undefined) -> ok;
delete_error_logger_mf(_) ->
error_logger:delete_report_handler(log_mf_h).
-pred({_Type, GL, _Msg}) when node(GL) /= node() -> false;
+pred({_Type, GL, _Msg}) when node(GL) =/= node() -> false;
pred(_) -> true.
%%%-----------------------------------------------------------------