summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMatthias Radestock <matthias@rabbitmq.com>2011-07-02 10:54:23 +0100
committerMatthias Radestock <matthias@rabbitmq.com>2011-07-02 10:54:23 +0100
commitfeee4949ef59a2c7b6c65c94fff145321ee6a94a (patch)
treee09fb44f804fc62ac6ffd02279a9a1380f73aedd /src
parent2482a9bf4edd64b17f50aa31f600d1bf7c9ed361 (diff)
downloadrabbitmq-server-feee4949ef59a2c7b6c65c94fff145321ee6a94a.tar.gz
cosmetic: more sensible order of qpids for routing
Diffstat (limited to 'src')
-rw-r--r--src/rabbit_router.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rabbit_router.erl b/src/rabbit_router.erl
index 26780676..d453a870 100644
--- a/src/rabbit_router.erl
+++ b/src/rabbit_router.erl
@@ -111,7 +111,7 @@ lookup_qpids(QNames) ->
lists:foldl(fun (QName, QPids) ->
case mnesia:dirty_read({rabbit_queue, QName}) of
[#amqqueue{pid = QPid, slave_pids = SPids}] ->
- SPids ++ [QPid | QPids];
+ [QPid | SPids ++ QPids];
[] ->
QPids
end