summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMatthias Radestock <matthias@rabbitmq.com>2010-07-07 23:16:14 +0100
committerMatthias Radestock <matthias@rabbitmq.com>2010-07-07 23:16:14 +0100
commit82cead22a08638503c311b854f89cda3446d62d4 (patch)
treeef5a91947828d1bbb347027179eb7abb66c938c5 /src
parentede95978fcf441bbbe8aae55f65e97f3892c8b9e (diff)
downloadrabbitmq-server-git-82cead22a08638503c311b854f89cda3446d62d4.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 52845f63dd..eb711b428f 100644
--- a/src/rabbit_variable_queue.erl
+++ b/src/rabbit_variable_queue.erl
@@ -911,14 +911,14 @@ tx_commit_post_msg_store(IsTransientPubs, Pubs, AckTags, Fun,
on_sync = OnSync = {SAcks, SPubs, SFuns},
pending_ack = PA,
durable = IsDurable }) ->
- %% If we are a non-durable queue, or (no persisent pubs, and no
+ %% If we are a non-durable queue, or (no persistent pubs, and no
%% persistent acks) then we can skip the queue_index loop.
case (not IsDurable) orelse
(IsTransientPubs andalso
lists:foldl(
fun (AckTag, true ) ->
case dict:find(AckTag, PA) of
- {ok, #msg_status {}} -> true;
+ {ok, #msg_status {}} -> true;
{ok, {IsPersistent, _Guid}} -> not IsPersistent
end;
(_AckTag, false) -> false