diff options
| author | Matthias Radestock <matthias@rabbitmq.com> | 2014-01-10 18:12:29 +0000 |
|---|---|---|
| committer | Matthias Radestock <matthias@rabbitmq.com> | 2014-01-10 18:12:29 +0000 |
| commit | 731cce10eb4e10db0d96c567e2edf1a95bcf3e7d (patch) | |
| tree | 7d8fcb1469aa7574271800e9eaf9b8c12a8307cc /src | |
| parent | a80b21122c9e40bb02f4687d4f7e31f66ee47e63 (diff) | |
| download | rabbitmq-server-git-731cce10eb4e10db0d96c567e2edf1a95bcf3e7d.tar.gz | |
tiny simplifying refactor
Diffstat (limited to 'src')
| -rw-r--r-- | src/rabbit_channel.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rabbit_channel.erl b/src/rabbit_channel.erl index 0dd5892954..469cf4f70b 100644 --- a/src/rabbit_channel.erl +++ b/src/rabbit_channel.erl @@ -522,8 +522,8 @@ check_internal_exchange(#exchange{name = Name, internal = true}) -> check_internal_exchange(_) -> ok. -qbin_to_resource(QueueNameBin, #ch{virtual_host = VHostPath}) -> - rabbit_misc:r(VHostPath, queue, QueueNameBin). +qbin_to_resource(QueueNameBin, State) -> + name_to_resource(queue, QueueNameBin, State). name_to_resource(Type, NameBin, #ch{virtual_host = VHostPath}) -> rabbit_misc:r(VHostPath, Type, NameBin). |
