Skip to content

Commit 457caee

Browse files
Cosmetics
1 parent c3ad61e commit 457caee

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/rabbit_router.erl

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,13 +36,11 @@
3636

3737
%%----------------------------------------------------------------------------
3838

39-
%% No need to call mnesia:dirty_select/2 (cf. note below), let alone go
40-
%% through qlc because query is so simple !
4139
match_bindings(SrcName, Match) ->
4240
MatchHead = #route{binding = #binding{source = SrcName,
4341
_ = '_'}},
4442
Routes = ets:select(rabbit_route, [{MatchHead, [], [['$_']]}]),
45-
[ Dest || [#route{binding = Binding = #binding{destination = Dest}}] <-
43+
[Dest || [#route{binding = Binding = #binding{destination = Dest}}] <-
4644
Routes, Match(Binding)].
4745

4846
match_routing_key(SrcName, [RoutingKey]) ->

0 commit comments

Comments
 (0)