summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTim Watson <tim@rabbitmq.com>2012-11-05 11:20:56 +0000
committerTim Watson <tim@rabbitmq.com>2012-11-05 11:20:56 +0000
commitaa8f5f7605af87b50e6e5e3a39b038b43c9d5989 (patch)
tree02c7de60c3de629b943713ed6fe072f559483dd2 /src
parentcf41870967cd5e058cab1a439b82256d02374c2d (diff)
downloadrabbitmq-server-git-aa8f5f7605af87b50e6e5e3a39b038b43c9d5989.tar.gz
fix type specs
Diffstat (limited to 'src')
-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.