aboutsummaryrefslogtreecommitdiff
path: root/src/p1_fsm.erl
diff options
context:
space:
mode:
Diffstat (limited to 'src/p1_fsm.erl')
-rw-r--r--src/p1_fsm.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/p1_fsm.erl b/src/p1_fsm.erl
index 40ae33465..c4de9faa4 100644
--- a/src/p1_fsm.erl
+++ b/src/p1_fsm.erl
@@ -663,7 +663,7 @@ limit_options([], Limits) ->
Limits;
%% Maximum number of messages allowed in the process message queue
limit_options([{max_queue,N}|Options], Limits)
- when integer(N) ->
+ when is_integer(N) ->
NewLimits = Limits#limits{max_queue=N},
limit_options(Options, NewLimits);
limit_options([_|Options], Limits) ->