aboutsummaryrefslogtreecommitdiffstats
path: root/lib/kernel/src/dist_util.erl
diff options
context:
space:
mode:
authorKostis Sagonas <[email protected]>2012-12-13 16:11:52 +0100
committerKostis Sagonas <[email protected]>2012-12-13 16:11:52 +0100
commitf1237b3e06f85b2ac31e7d923a58e2b906cd91fd (patch)
tree37e1599a941fec9afc9810eaa969c4dda7f6e59b /lib/kernel/src/dist_util.erl
parent1cbd897c43f0dab1275392a3736e4629c1f80243 (diff)
downloadotp-f1237b3e06f85b2ac31e7d923a58e2b906cd91fd.tar.gz
otp-f1237b3e06f85b2ac31e7d923a58e2b906cd91fd.tar.bz2
otp-f1237b3e06f85b2ac31e7d923a58e2b906cd91fd.zip
Do not return wrong terms unnecessarily
Diffstat (limited to 'lib/kernel/src/dist_util.erl')
-rw-r--r--lib/kernel/src/dist_util.erl3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/kernel/src/dist_util.erl b/lib/kernel/src/dist_util.erl
index f0d54a2f3e..e3511988a6 100644
--- a/lib/kernel/src/dist_util.erl
+++ b/lib/kernel/src/dist_util.erl
@@ -757,7 +757,8 @@ setup_timer(Pid, Timeout) ->
end.
reset_timer(Timer) ->
- Timer ! {self(), reset}.
+ Timer ! {self(), reset},
+ ok.
cancel_timer(Timer) ->
unlink(Timer),