diff options
author | Matthias Radestock <matthias@rabbitmq.com> | 2012-03-28 22:58:09 +0100 |
---|---|---|
committer | Matthias Radestock <matthias@rabbitmq.com> | 2012-03-28 22:58:09 +0100 |
commit | 1e5845ac32aa86f04bfe75ab161ab9113490c72e (patch) | |
tree | b2593144c3f0f96338f23b40f28836a303131d8b /src/rabbit_basic.erl | |
parent | 0e0ceb63715bd053702a38609013a726713bdc28 (diff) | |
download | rabbitmq-server-1e5845ac32aa86f04bfe75ab161ab9113490c72e.tar.gz |
cosmetic
Diffstat (limited to 'src/rabbit_basic.erl')
-rw-r--r-- | src/rabbit_basic.erl | 6 |
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}}) -> |