diff options
| author | Matthew Sackman <matthew@lshift.net> | 2010-04-16 14:14:35 +0100 |
|---|---|---|
| committer | Matthew Sackman <matthew@lshift.net> | 2010-04-16 14:14:35 +0100 |
| commit | 2f081e4a682fb3f0bedcd619a85f88ba22f470ca (patch) | |
| tree | f99e21ce7d614420e9a616d4e69eb748f650eb9e | |
| parent | c0ba7b2d281834605eb60c67b5cfa97d6c24b759 (diff) | |
| download | rabbitmq-server-git-2f081e4a682fb3f0bedcd619a85f88ba22f470ca.tar.gz | |
Whoops, wrong record
| -rw-r--r-- | src/rabbit_variable_queue.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rabbit_variable_queue.erl b/src/rabbit_variable_queue.erl index 7cebf2b1bf..9a8cb86e90 100644 --- a/src/rabbit_variable_queue.erl +++ b/src/rabbit_variable_queue.erl @@ -725,7 +725,7 @@ remove_pending_ack(KeepPersistent, rabbit_misc:dict_cons( ?TRANSIENT_MSG_STORE, Guid, Dict)} end; - (_SeqId, #basic_message {}, Acc) -> + (_SeqId, #msg_status {}, Acc) -> Acc end, {[], dict:new()}, PA), case KeepPersistent of @@ -735,7 +735,7 @@ remove_pending_ack(KeepPersistent, pending_ack = dict:filter( fun (_SeqId, {IsPersistent, _Guid}) -> IsPersistent; - (_SeqId, #basic_message {}) -> false + (_SeqId, #msg_status {}) -> false end, PA) }, case dict:find(?TRANSIENT_MSG_STORE, GuidsByStore) of error -> State1; |
