diff options
author | Matthew Sackman <matthew@lshift.net> | 2010-02-05 14:21:24 +0000 |
---|---|---|
committer | Matthew Sackman <matthew@lshift.net> | 2010-02-05 14:21:24 +0000 |
commit | 4163f3112b08cfeb79681428e339bc6185908baa (patch) | |
tree | ed48e317066c1cbbe6c9bd6749a4afe7fe211c0d | |
parent | 96d77a12cd7d355ab23d7eb95e3627392683f185 (diff) | |
download | rabbitmq-server-4163f3112b08cfeb79681428e339bc6185908baa.tar.gz |
Correction of specbug22300
-rw-r--r-- | src/rabbit_amqqueue.erl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/rabbit_amqqueue.erl b/src/rabbit_amqqueue.erl index ea0eadc3..08ad2d78 100644 --- a/src/rabbit_amqqueue.erl +++ b/src/rabbit_amqqueue.erl @@ -100,7 +100,8 @@ -spec(basic_get/3 :: (amqqueue(), pid(), boolean()) -> {'ok', non_neg_integer(), msg()} | 'empty'). -spec(basic_consume/8 :: - (amqqueue(), boolean(), pid(), pid(), pid(), ctag(), boolean(), any()) -> + (amqqueue(), boolean(), pid(), pid(), pid() | 'undefined', ctag(), + boolean(), any()) -> 'ok' | {'error', 'queue_owned_by_another_connection' | 'exclusive_consume_unavailable'}). -spec(basic_cancel/4 :: (amqqueue(), pid(), ctag(), any()) -> 'ok'). |