diff options
author | Micael Karlberg <[email protected]> | 2010-02-02 13:29:22 +0000 |
---|---|---|
committer | Erlang/OTP <[email protected]> | 2010-02-02 15:15:53 +0100 |
commit | f91fcac6739141af4bb66a97dfdaaccdcd74f50b (patch) | |
tree | daed7346e4ca3d6fe753051bda2832e8b2f58906 /lib/megaco/src | |
parent | f9fef81dbd1a121b56e56a884101e83ee495e790 (diff) | |
download | otp-f91fcac6739141af4bb66a97dfdaaccdcd74f50b.tar.gz otp-f91fcac6739141af4bb66a97dfdaaccdcd74f50b.tar.bz2 otp-f91fcac6739141af4bb66a97dfdaaccdcd74f50b.zip |
OTP-8317 & OTP-8362.
Diffstat (limited to 'lib/megaco/src')
-rw-r--r-- | lib/megaco/src/engine/megaco_config.erl | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/megaco/src/engine/megaco_config.erl b/lib/megaco/src/engine/megaco_config.erl index 2058c53973..1c7a141be7 100644 --- a/lib/megaco/src/engine/megaco_config.erl +++ b/lib/megaco/src/engine/megaco_config.erl @@ -1,19 +1,19 @@ %% %% %CopyrightBegin% -%% -%% Copyright Ericsson AB 2000-2009. All Rights Reserved. -%% +%% +%% Copyright Ericsson AB 2000-2010. 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 %% compliance with the License. You should have received a copy of the %% Erlang Public License along with this software. If not, it can be %% retrieved online at http://www.erlang.org/. -%% +%% %% Software distributed under the License is distributed on an "AS IS" %% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See %% the License for the specific language governing rights and limitations %% under the License. -%% +%% %% %CopyrightEnd% %% @@ -1432,7 +1432,7 @@ verify_val(Item, Val) -> segment_send_timer -> verify_timer(Val); max_pdu_size -> verify_int(Val) andalso (Val > 0); request_keep_alive_timeout -> - (verify_int(Val) andalso (Val >= 0)) orelse (Val =:= plain); + (verify_uint(Val) orelse (Val =:= plain)); _ -> false end. |