Skip to content

Commit 20c6018

Browse files
author
Matthew Sackman
committed
Shortstrs are actually up to 255. Derp.
1 parent 8525ce3 commit 20c6018

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/rabbit_amqqueue.erl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,7 @@ check_declare_arguments(QueueName, Args) ->
320320
ok -> ok;
321321
{error, Error} -> rabbit_misc:protocol_error(
322322
precondition_failed,
323-
"invalid arg '~s' for ~s: ~256p",
323+
"invalid arg '~s' for ~s: ~255p",
324324
[Key, rabbit_misc:rs(QueueName), Error])
325325
end || {Key, Fun} <-
326326
[{<<"x-expires">>, fun check_integer_argument/2},

0 commit comments

Comments
 (0)