diff options
author | Micael Karlberg <[email protected]> | 2011-02-25 17:56:59 +0100 |
---|---|---|
committer | Micael Karlberg <[email protected]> | 2011-02-25 17:56:59 +0100 |
commit | feb08b2bc629530ab593c6497d2476e37d8a9251 (patch) | |
tree | 08f617711c896707f593956627109a0ebc506d4a /lib/megaco/src/engine/megaco_timer.erl | |
parent | 25bff78c1650c156b31772bf8072441f4edf3759 (diff) | |
download | otp-feb08b2bc629530ab593c6497d2476e37d8a9251.tar.gz otp-feb08b2bc629530ab593c6497d2476e37d8a9251.tar.bz2 otp-feb08b2bc629530ab593c6497d2476e37d8a9251.zip |
First batch of attempts to deal with dialyzer issues...
Diffstat (limited to 'lib/megaco/src/engine/megaco_timer.erl')
-rw-r--r-- | lib/megaco/src/engine/megaco_timer.erl | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/lib/megaco/src/engine/megaco_timer.erl b/lib/megaco/src/engine/megaco_timer.erl index 9f524523a8..1336be0b5b 100644 --- a/lib/megaco/src/engine/megaco_timer.erl +++ b/lib/megaco/src/engine/megaco_timer.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2007-2009. All Rights Reserved. +%% Copyright Ericsson AB 2007-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 @@ -42,7 +42,7 @@ %% NewTimer = megaco_timer() %% TimeoutTime = infinity | integer() %% -init(SingleWaitFor) when SingleWaitFor == infinity -> +init(SingleWaitFor) when SingleWaitFor =:= infinity -> {SingleWaitFor, timeout}; init(SingleWaitFor) when is_integer(SingleWaitFor) and (SingleWaitFor >= 0) -> {SingleWaitFor, timeout}; @@ -76,17 +76,17 @@ verify(#megaco_incr_timer{wait_for = WaitFor, factor = Factor, incr = Incr, max_retries = MaxRetries}) -> - (megaco_config:verify_strict_uint(WaitFor) and - megaco_config:verify_strict_uint(Factor) and - megaco_config:verify_strict_int(Incr) and + (megaco_config_misc:verify_strict_uint(WaitFor) and + megaco_config_misc:verify_strict_uint(Factor) and + megaco_config_misc:verify_strict_int(Incr) and verify_max_retries(MaxRetries)); verify(Timer) -> - megaco_config:verify_uint(Timer). + megaco_config_misc:verify_uint(Timer). verify_max_retries(infinity_restartable) -> true; verify_max_retries(Val) -> - megaco_config:verify_uint(Val). + megaco_config_misc:verify_uint(Val). %%----------------------------------------------------------------- |