aboutsummaryrefslogtreecommitdiffstats
path: root/lib/kernel
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2011-02-23 10:19:16 +0100
committerBjörn Gustavsson <[email protected]>2011-02-23 10:19:16 +0100
commit6dfa9a9a775fe0c73d08dc7f2f5fa67edd9ece25 (patch)
tree7add7c11b2a03e6316d835ef0e30d12ed865e4f2 /lib/kernel
parent84884b96de521491d34a19b1b3497d3d76549126 (diff)
downloadotp-6dfa9a9a775fe0c73d08dc7f2f5fa67edd9ece25.tar.gz
otp-6dfa9a9a775fe0c73d08dc7f2f5fa67edd9ece25.tar.bz2
otp-6dfa9a9a775fe0c73d08dc7f2f5fa67edd9ece25.zip
inet6_tcp_dist: Eliminate dialyzer warning for "tuple fun"
Replace the "tuple fun" with an external fun.
Diffstat (limited to 'lib/kernel')
-rw-r--r--lib/kernel/src/inet6_tcp_dist.erl6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/kernel/src/inet6_tcp_dist.erl b/lib/kernel/src/inet6_tcp_dist.erl
index fab00bbb9f..b9c4fa607c 100644
--- a/lib/kernel/src/inet6_tcp_dist.erl
+++ b/lib/kernel/src/inet6_tcp_dist.erl
@@ -1,7 +1,7 @@
%%
%% %CopyrightBegin%
%%
-%% Copyright Ericsson AB 1997-2010. All Rights Reserved.
+%% Copyright Ericsson AB 1997-2011. All Rights Reserved.
%%
%% The contents of this file are subject to the Erlang Public License,
%% Version 1.1, (the "License"); you may not use this file except in
@@ -162,8 +162,8 @@ do_accept(Kernel, AcceptPid, Socket, MyNode, Allowed, SetupTime) ->
inet:getll(S)
end,
f_address = fun get_remote_id/2,
- mf_tick = {?MODULE, tick},
- mf_getstat = {?MODULE,getstat}
+ mf_tick = fun ?MODULE:tick/1,
+ mf_getstat = fun ?MODULE:getstat/1
},
dist_util:handshake_other_started(HSData);
{false,IP} ->