Compare commits
No commits in common. "4c05158f231e7f177370b03830c8042317fcbb31" and "54113589f9658286e3f66eaab129e196709887e6" have entirely different histories.
4c05158f23
...
54113589f9
@ -60,7 +60,7 @@ defmodule Amethyst.Server do
|
||||
@spec serve(:gen_tcp.socket(), any()) :: no_return()
|
||||
def serve(client, state \\ []) do
|
||||
Logger.debug("#{__MODULE__} serving client #{inspect(client)}")
|
||||
serve_loop(client, init(state))
|
||||
serve(client, init(state))
|
||||
end
|
||||
|
||||
defp serve_loop(client, state) do
|
||||
@ -72,7 +72,7 @@ defmodule Amethyst.Server do
|
||||
if result != :ok do
|
||||
Logger.warning("Handler returned result #{result}")
|
||||
end
|
||||
serve_loop(client, state)
|
||||
serve(client, state)
|
||||
end
|
||||
|
||||
def transmit(packet, client) do
|
||||
|
Loading…
Reference in New Issue
Block a user