summaryrefslogtreecommitdiff
path: root/src/rabbit_basic.erl
diff options
context:
space:
mode:
authorMatthias Radestock <matthias@rabbitmq.com>2012-03-28 22:58:09 +0100
committerMatthias Radestock <matthias@rabbitmq.com>2012-03-28 22:58:09 +0100
commit1e5845ac32aa86f04bfe75ab161ab9113490c72e (patch)
treeb2593144c3f0f96338f23b40f28836a303131d8b /src/rabbit_basic.erl
parent0e0ceb63715bd053702a38609013a726713bdc28 (diff)
downloadrabbitmq-server-1e5845ac32aa86f04bfe75ab161ab9113490c72e.tar.gz
cosmetic
Diffstat (limited to 'src/rabbit_basic.erl')
-rw-r--r--src/rabbit_basic.erl6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/rabbit_basic.erl b/src/rabbit_basic.erl
index 25485ca0..a89aa074 100644
--- a/src/rabbit_basic.erl
+++ b/src/rabbit_basic.erl
@@ -199,9 +199,9 @@ replace_headers(Headers, Content = #content{properties = Props}) ->
indexof(L, Element) -> indexof(L, Element, 1).
-indexof([], _Element, _N) -> 0;
-indexof([Element | _Rest], Element, N) -> N;
-indexof([_ | Rest], Element, N) -> indexof(Rest, Element, N + 1).
+indexof([], _Element, _N) -> 0;
+indexof([Element | _Rest], Element, N) -> N;
+indexof([_ | Rest], Element, N) -> indexof(Rest, Element, N + 1).
is_message_persistent(#content{properties = #'P_basic'{
delivery_mode = Mode}}) ->