Browse Source

Fixed extraction of Pid for iteration with new key

Missed in original work.
pull/123/head
benjamin.lee 10 years ago
parent
commit
37fce82846
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/ibrowse_lb.erl

+ 1
- 1
src/ibrowse_lb.erl View File

@ -282,5 +282,5 @@ decremented({Size, _Timestamp, Pid}) ->
{Size - 1, os:timestamp(), Pid}.
for_each_connection_pid(Tid, Fun) ->
catch ets:foldl(fun({Pid, _}, _) -> Fun(Pid) end, undefined, Tid),
ets:foldl(fun({{_, _, Pid}, _}, _) -> Fun(Pid) end, undefined, Tid),
ok.

Loading…
Cancel
Save