summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAlvaro Videla <alvaro@rabbitmq.com>2014-01-03 16:54:37 +0100
committerAlvaro Videla <alvaro@rabbitmq.com>2014-01-03 16:54:37 +0100
commit0dfb3dae8fcf1b90f3d1382b3b6323a62256a035 (patch)
treeea77c2d85297aa4a3e1922f964a309e18457f856 /src
parent0186d763494044dfeb436ae3f4ff88f85996dbc0 (diff)
downloadrabbitmq-server-git-0dfb3dae8fcf1b90f3d1382b3b6323a62256a035.tar.gz
passes the right argument type to rabbit_channel_interceptor:select/1
Diffstat (limited to 'src')
-rw-r--r--src/rabbit_channel_interceptor.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rabbit_channel_interceptor.erl b/src/rabbit_channel_interceptor.erl
index 980f3951ca..00ed4f0359 100644
--- a/src/rabbit_channel_interceptor.erl
+++ b/src/rabbit_channel_interceptor.erl
@@ -54,7 +54,7 @@ behaviour_info(_Other) ->
intercept_method(#'basic.publish'{} = M) ->
M;
intercept_method(M) ->
- intercept_method(M, select(M)).
+ intercept_method(M, select(rabbit_misc:method_record_type(M))).
intercept_method(M, []) ->
M;