Skip to content

Commit 6b9f144

Browse files
committed
proper restart by sup
1 parent bb82a26 commit 6b9f144

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/mtx.erl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,4 +38,4 @@ terminate(_Reason, _State) -> ok.
3838
code_change(_OldVsn, State, _Extra) -> {ok, State}.
3939

4040
send(Stats,#state{socket=Socket,host=Host,port=Port}=State) ->
41-
gen_udp:send(Socket,Host,Port,lists:concat(Stats)), {noreply,State}.
41+
ok = gen_udp:send(Socket,Host,Port,lists:concat(Stats)), {noreply,State}.

0 commit comments

Comments
 (0)