aboutsummaryrefslogtreecommitdiffstats
path: root/lib/kernel/src
diff options
context:
space:
mode:
authorErlang/OTP <[email protected]>2010-06-02 12:26:57 +0000
committerErlang/OTP <[email protected]>2010-06-02 12:26:57 +0000
commitd8a05525924828009eae66485d45f54d168a53c3 (patch)
tree1ec5393a8c5e3edb43e26c9f6807265fa411da97 /lib/kernel/src
parent1ac35cc337f3e9bfdd6a0c64cb089a088811feca (diff)
parent7d37fee4cc8201f9af508177d75f5c8c0d1dee7c (diff)
downloadotp-d8a05525924828009eae66485d45f54d168a53c3.tar.gz
otp-d8a05525924828009eae66485d45f54d168a53c3.tar.bz2
otp-d8a05525924828009eae66485d45f54d168a53c3.zip
Merge branch 'am/net_kernel_catchall' into dev
* am/net_kernel_catchall: Add catch all handle_call to net_kernel
Diffstat (limited to 'lib/kernel/src')
-rw-r--r--lib/kernel/src/net_kernel.erl5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/kernel/src/net_kernel.erl b/lib/kernel/src/net_kernel.erl
index dec353d6f2..0e17c059e5 100644
--- a/lib/kernel/src/net_kernel.erl
+++ b/lib/kernel/src/net_kernel.erl
@@ -503,7 +503,10 @@ handle_call({new_ticktime,T,TP}, From, #state{tick = #tick{ticker = Tckr,
handle_call({new_ticktime,From,_},
_,
#state{tick = #tick_change{time = T}} = State) ->
- async_reply({reply, {ongoing_change_to, T}, State}, From).
+ async_reply({reply, {ongoing_change_to, T}, State}, From);
+
+handle_call(_Msg, _From, State) ->
+ {noreply, State}.
%% ------------------------------------------------------------
%% handle_cast.