diff options
| author | Matthew Sackman <matthew@rabbitmq.com> | 2010-08-02 15:11:11 +0100 |
|---|---|---|
| committer | Matthew Sackman <matthew@rabbitmq.com> | 2010-08-02 15:11:11 +0100 |
| commit | 6189008045055d86b08ec2d290d1ef30c734c27a (patch) | |
| tree | eb98a087bd8396e9915eb2a0f0399daadf89ebab /src | |
| parent | 949b4e5e187083dea6a28375b3878aa751bc7b8d (diff) | |
| download | rabbitmq-server-git-6189008045055d86b08ec2d290d1ef30c734c27a.tar.gz | |
Forgot to _ prefix
Diffstat (limited to 'src')
| -rw-r--r-- | src/supervisor2.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/supervisor2.erl b/src/supervisor2.erl index d9eb4d5b46..7616e44dba 100644 --- a/src/supervisor2.erl +++ b/src/supervisor2.erl @@ -138,7 +138,7 @@ which_children(Supervisor) -> call(Supervisor, which_children). find_child(Supervisor, Name) -> - [Pid || {Name1, Pid, Type1, Modules1} <- which_children(Supervisor), + [Pid || {Name1, Pid, _Type, _Modules} <- which_children(Supervisor), Name1 =:= Name]. call(Supervisor, Req) -> |
