summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon MacMullen <simon@rabbitmq.com>2011-02-10 12:54:57 +0000
committerSimon MacMullen <simon@rabbitmq.com>2011-02-10 12:54:57 +0000
commitcd012caed4385b393ad612aabc12107419e13e15 (patch)
treecef87e02fd10283561b13318f0fbc9fa7cfb777a
parent36e0842143bc26c87af6cee699977dd416194cb4 (diff)
parentca76cdd8e81559c0d48b672c8bf097e54a33477c (diff)
downloadrabbitmq-server-cd012caed4385b393ad612aabc12107419e13e15.tar.gz
Merged bug23811 (no need for amqqueue:notify_sent to use delegate)
-rw-r--r--src/rabbit_amqqueue.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rabbit_amqqueue.erl b/src/rabbit_amqqueue.erl
index 1d423809..6e5aae27 100644
--- a/src/rabbit_amqqueue.erl
+++ b/src/rabbit_amqqueue.erl
@@ -422,7 +422,7 @@ basic_cancel(#amqqueue{pid = QPid}, ChPid, ConsumerTag, OkMsg) ->
infinity).
notify_sent(QPid, ChPid) ->
- delegate_cast(QPid, {notify_sent, ChPid}).
+ gen_server2:cast(QPid, {notify_sent, ChPid}).
unblock(QPid, ChPid) ->
delegate_cast(QPid, {unblock, ChPid}).