summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon MacMullen <simon@rabbitmq.com>2010-10-25 17:20:56 +0100
committerSimon MacMullen <simon@rabbitmq.com>2010-10-25 17:20:56 +0100
commit0d42959b027f76dbc4503cea0514eef276710206 (patch)
tree69f00b8d09502569d0eefde483abdf145b2dd424
parent3b340ab5daebe37147084386451fc7c924afe10f (diff)
downloadrabbitmq-server-git-0d42959b027f76dbc4503cea0514eef276710206.tar.gz
Rename variable
-rw-r--r--src/rabbit.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rabbit.erl b/src/rabbit.erl
index af3f450ac9..e47079a881 100644
--- a/src/rabbit.erl
+++ b/src/rabbit.erl
@@ -323,8 +323,8 @@ all_module_attributes(Name) ->
[application:get_key(App, modules)
|| App <- AllApps]])),
lists:flatmap(fun (Module) ->
- [{Module, StepName, Attributes}
- || {N, [{StepName, Attributes}]}
+ [{Module, AttrName, Attributes}
+ || {N, [{AttrName, Attributes}]}
<- module_attributes(Module), N =:= Name]
end, Modules).