diff options
Diffstat (limited to 'portman.erl')
-rw-r--r-- | portman.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/portman.erl b/portman.erl index 3076a39..c850fce 100644 --- a/portman.erl +++ b/portman.erl @@ -14,11 +14,11 @@ oploop(Sock) -> receive - {Pid,shutdown} -> ok; + {_Pid,shutdown} -> ok; {tcp,Sock,Msg} -> io:format("~p\n",[Msg]), oploop(Sock); - {Pid,Msg} -> + {_Pid,Msg} -> gen_tcp:send(Sock,Msg), oploop(Sock) end. |