summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMatthias Radestock <matthias@rabbitmq.com>2012-02-14 20:13:29 +0000
committerMatthias Radestock <matthias@rabbitmq.com>2012-02-14 20:13:29 +0000
commit917b43d758f0df8f786177a2b7d31be89b3b3347 (patch)
tree54e750d9073f37674186ca3357def6a48a91b6f2 /src
parent0e51a4c04597b9b4ced8dc6c91e056c29b360970 (diff)
downloadrabbitmq-server-git-917b43d758f0df8f786177a2b7d31be89b3b3347.tar.gz
cosmetic
Diffstat (limited to 'src')
-rw-r--r--src/rabbit_variable_queue.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rabbit_variable_queue.erl b/src/rabbit_variable_queue.erl
index 38436b94cc..95b47d8343 100644
--- a/src/rabbit_variable_queue.erl
+++ b/src/rabbit_variable_queue.erl
@@ -593,8 +593,8 @@ dropwhile(Pred, MsgFun, State) ->
{true, _} ->
{{_, _, AckTag, _}, State2} =
internal_fetch(true, MsgStatus, State1),
- State3 = MsgFun(read_msg_callback(MsgStatus), AckTag, State2),
- dropwhile(Pred, MsgFun, State3);
+ dropwhile(Pred, MsgFun, MsgFun(read_msg_callback(MsgStatus),
+ AckTag, State2));
{false, _} ->
a(in_r(MsgStatus, State1))
end