diff options
| author | Rob Harrop <rharrop@vmware.com> | 2010-09-21 15:43:16 +0100 |
|---|---|---|
| committer | Rob Harrop <rharrop@vmware.com> | 2010-09-21 15:43:16 +0100 |
| commit | 2827c3b12c0df3daaa281d9c6246f88b570fa803 (patch) | |
| tree | f64ecba4875c05a8aff02ddbc9b0a982c8753b1c /src | |
| parent | 4c3da8274408fd98a3b323d724d6016f98f9a270 (diff) | |
| download | rabbitmq-server-git-2827c3b12c0df3daaa281d9c6246f88b570fa803.tar.gz | |
fixed naming error
Diffstat (limited to 'src')
| -rw-r--r-- | src/rabbit_amqqueue.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rabbit_amqqueue.erl b/src/rabbit_amqqueue.erl index e4fb258789..309fd7176e 100644 --- a/src/rabbit_amqqueue.erl +++ b/src/rabbit_amqqueue.erl @@ -329,9 +329,9 @@ check_integer_argument(undefined, _, _) -> check_integer_argument({Type, Val}, InvalidTypeError, _) when Val > 0 -> case lists:member(Type, ?INTEGER_ARG_TYPES) of true -> ok; - false -> {error, {InvalidTypeError, Type, Value}} + false -> {error, {InvalidTypeError, Type, Val}} end; -check_message_ttl_argument({_Type, _Value}, _, ZeroOrLessError) -> +check_integer_argument({_Type, _Val}, _, ZeroOrLessError) -> {error, ZeroOrLessError}. list(VHostPath) -> |
