summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBen Hood <0x6e6562@gmail.com>2008-08-05 16:37:29 +0100
committerBen Hood <0x6e6562@gmail.com>2008-08-05 16:37:29 +0100
commit697f9994e3219657954033395c449e83090669c4 (patch)
treeb1baf2b9937268809a6ffd3db19f093831d585d7 /src
parente57c133b1b6fd4735596a3b7fcff4b3d913adf40 (diff)
downloadrabbitmq-server-git-697f9994e3219657954033395c449e83090669c4.tar.gz
Most recently declared queue was returning the entire resource
Diffstat (limited to 'src')
-rw-r--r--src/rabbit_channel.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rabbit_channel.erl b/src/rabbit_channel.erl
index 426cbd7899..6719a9745e 100644
--- a/src/rabbit_channel.erl
+++ b/src/rabbit_channel.erl
@@ -181,7 +181,7 @@ expand_routing_key_shortcut(<<>>, <<>>,
not_allowed, "no previously declared queue", []);
expand_routing_key_shortcut(<<>>, <<>>,
#ch{ most_recently_declared_queue = MRDQ }) ->
- MRDQ;
+ MRDQ#resource.name;
expand_routing_key_shortcut(_QueueNameBin, RoutingKey, _State) ->
RoutingKey.