Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
yosukehara committed Mar 26, 2015
2 parents 824a0cb + 25a0aae commit e4ad331
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/leo_ordning_reda_server.erl
Original file line number Diff line number Diff line change
Expand Up @@ -320,13 +320,13 @@ exists_straw_id(Straw, List) ->

%% @private
exists_straw_id_1(0,_,_) ->
false;
true;
exists_straw_id_1(Index, Straw, List) ->
case lists:member(erlang:element(Index, Straw#?STRAW.id), List) of
true ->
true;
exists_straw_id_1(Index - 1, Straw, List);
false ->
exists_straw_id_1(Index - 1, Straw, List)
false
end.


Expand Down

0 comments on commit e4ad331

Please sign in to comment.