Permalink
Browse files

Cleanup

  • Loading branch information...
msantos committed Apr 1, 2011
1 parent dd405c6 commit 7a532f526e8ab5638b00fc3e4023701ea7ac9194
Showing with 5 additions and 2 deletions.
  1. +5 −2 src/evum_ctl.erl
View
@@ -115,7 +115,11 @@ code_change(_OldVsn, State, _Extra) ->
%%--------------------------------------------------------------------
-%% Stream data from the ctl socket
+%%%
+%%% Port Communication
+%%%
+%%% Stream data from the ctl socket
+%%%
%%--------------------------------------------------------------------
handle_info(Info, State) ->
error_logger:error_report([{wtf, Info}]),
@@ -154,7 +158,6 @@ recv(Server, Switch, Socket) ->
Name = evum_switch:name(Switch),
case procket:sendto(Socket, Name, 0, <<>>) of
ok ->
-% data(Server, Socket, Buf),
recv(Server, Switch, Socket);
_ ->
procket:close(Socket)

0 comments on commit 7a532f5

Please sign in to comment.