diff options
author | Matthew Sackman <matthew@lshift.net> | 2010-03-23 15:51:20 +0000 |
---|---|---|
committer | Matthew Sackman <matthew@lshift.net> | 2010-03-23 15:51:20 +0000 |
commit | 60f6c7cf99ef85c52469f7a9aabbd96567dbac11 (patch) | |
tree | 7e734213c50f2d6688a3f574fdd96c7a959a87ae | |
parent | d48a90fcd8ec97649df488644f051c99339e29a6 (diff) | |
download | rabbitmq-server-bug22560.tar.gz |
cosmeticbug22560
-rw-r--r-- | src/worker_pool.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/worker_pool.erl b/src/worker_pool.erl index 8e2c4774..b883d4f0 100644 --- a/src/worker_pool.erl +++ b/src/worker_pool.erl @@ -129,7 +129,7 @@ get_worker_pid(WId) -> [{WId, Pid, _Type, _Modules} | _] = lists:dropwhile(fun ({Id, _Pid, _Type, _Modules}) when Id =:= WId -> false; - (_) -> true + (_) -> true end, supervisor:which_children(worker_pool_sup)), Pid. |