summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/rabbit_basic.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rabbit_basic.erl b/src/rabbit_basic.erl
index ca18087df4..a1f52480a4 100644
--- a/src/rabbit_basic.erl
+++ b/src/rabbit_basic.erl
@@ -75,7 +75,7 @@
{rabbit_framing:amqp_property_record(), binary()}).
-spec(parse_expiration/1 ::
(rabbit_framing:amqp_property_record())
- -> rabbit_types:ok_or_error2(non_neg_integer(), any())).
+ -> rabbit_types:ok_or_error2('undefined' | non_neg_integer(), any())).
-endif.