diff options
| author | Matthias Radestock <matthias@rabbitmq.com> | 2012-03-02 08:51:10 +0000 |
|---|---|---|
| committer | Matthias Radestock <matthias@rabbitmq.com> | 2012-03-02 08:51:10 +0000 |
| commit | ac114c61b2bb8585c058a048adf2ae1ffc6a37ab (patch) | |
| tree | 56c9e6ac83cc3c66e5df2a671a0010d28aeae262 /src | |
| parent | 81311106a434a25f9eb007aabc707a9986bf260c (diff) | |
| download | rabbitmq-server-git-ac114c61b2bb8585c058a048adf2ae1ffc6a37ab.tar.gz | |
cosmetic
Diffstat (limited to 'src')
| -rw-r--r-- | src/rabbit_channel.erl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/rabbit_channel.erl b/src/rabbit_channel.erl index d5cba91b2e..bb6636eb80 100644 --- a/src/rabbit_channel.erl +++ b/src/rabbit_channel.erl @@ -1146,10 +1146,10 @@ consumer_monitor(ConsumerTag, end. monitor_queue(QPid, State = #ch{queue_monitors = QMons}) -> - case not sets:is_element(QPid, QMons) of - true -> erlang:monitor(process, QPid), + case sets:is_element(QPid, QMons) of + false -> erlang:monitor(process, QPid), State#ch{queue_monitors = sets:add_element(QPid, QMons)}; - false -> State + true -> State end. handle_publishing_queue_down(QPid, Reason, State = #ch{unconfirmed_qm = UQM}) -> |
