Skip to content

Commit e3b5d90

Browse files
committed
Fix client/socket
1 parent 6016328 commit e3b5d90

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/mix/lib/mix/tasks/deps.partition.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ defmodule Mix.Tasks.Deps.Partition do
8989
clients =
9090
Enum.map(1..count//1, fn _ ->
9191
with {:ok, client} <- :gen_tcp.accept(socket, 15000),
92-
{:ok, message} <- :gen_tcp.recv(socket, 0, 15000) do
92+
{:ok, message} <- :gen_tcp.recv(client, 0, 15000) do
9393
:inet.setopts(client, active: true)
9494
index = message |> String.trim() |> String.to_integer()
9595
%{port: Map.fetch!(ports, index), index: index, socket: client}

0 commit comments

Comments
 (0)