Fix a crash related to an undefined function.

This commit is contained in:
Loïc Hoguin 2010-05-15 16:45:25 +02:00
parent c8c167c556
commit 87ca8dda15

View File

@ -61,7 +61,7 @@ process(CSocket, Version) ->
process_handle(Command, CSocket, Version, Packet); process_handle(Command, CSocket, Version, Packet);
{error, timeout} -> {error, timeout} ->
reload, reload,
?MODULE:process(CSocket); ?MODULE:process(CSocket, Version);
{error, closed} -> {error, closed} ->
log(0, "recv error, closing") log(0, "recv error, closing")
end. end.