summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMatthew Sackman <matthew@lshift.net>2009-08-24 15:25:32 +0100
committerMatthew Sackman <matthew@lshift.net>2009-08-24 15:25:32 +0100
commitdc7c6605ab76a2bd32261881f8eac1276df392cb (patch)
tree7804de7e88282a71f377414eba99ab6d621ddb61 /src
parent2f6f113da83e37bc55c075dcfdfb1a6edf339cd5 (diff)
downloadrabbitmq-server-git-dc7c6605ab76a2bd32261881f8eac1276df392cb.tar.gz
english preferable to gobbledegook
Diffstat (limited to 'src')
-rw-r--r--src/rabbit_disk_queue.erl6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/rabbit_disk_queue.erl b/src/rabbit_disk_queue.erl
index f6a1c8ca80..33a1aaa830 100644
--- a/src/rabbit_disk_queue.erl
+++ b/src/rabbit_disk_queue.erl
@@ -1803,9 +1803,9 @@ recover_crashed_compactions1(Files, TmpFile) ->
end,
ok.
-%% takes the list in *ascending* order (i.e. oldest message
-%% first). This is the opposite of whach scan_file_for_valid_messages
-%% produces. The list of msgs that is produced is youngest first
+%% Takes the list in *ascending* order (i.e. eldest message
+%% first). This is the opposite of what scan_file_for_valid_messages
+%% produces. The list of msgs that is produced is youngest first.
find_contiguous_block_prefix([]) -> {0, []};
find_contiguous_block_prefix(List) ->
find_contiguous_block_prefix(List, 0, []).