summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon MacMullen <simon@rabbitmq.com>2014-01-07 14:21:27 +0000
committerSimon MacMullen <simon@rabbitmq.com>2014-01-07 14:21:27 +0000
commit5f6d22c26a1720532b3e0d1a43da6466e69d87e9 (patch)
tree73acf5ee6a86ac6feefc63fbd5cb769a7c591389
parent10aec532ddb744e1576d3ef6b1a5af4810cd5efb (diff)
downloadrabbitmq-server-git-5f6d22c26a1720532b3e0d1a43da6466e69d87e9.tar.gz
Uh, that function needs another header
-rw-r--r--src/rabbit_amqqueue_process.erl4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/rabbit_amqqueue_process.erl b/src/rabbit_amqqueue_process.erl
index 94cfa61980..7fe12b9da7 100644
--- a/src/rabbit_amqqueue_process.erl
+++ b/src/rabbit_amqqueue_process.erl
@@ -704,7 +704,9 @@ remove_consumers(ChPid, Queue, QName) ->
channel_consumers(ChPid, Queue) ->
priority_queue:fold(
fun ({CP, #consumer{tag = CTag}}, _, Acc) when CP =:= ChPid ->
- [CTag | Acc]
+ [CTag | Acc];
+ (_, _, Acc) ->
+ Acc
end, [], Queue).
possibly_unblock(State, ChPid, Update) ->