summaryrefslogtreecommitdiff
path: root/src/ipa_proto.erl
diff options
context:
space:
mode:
Diffstat (limited to 'src/ipa_proto.erl')
-rw-r--r--src/ipa_proto.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ipa_proto.erl b/src/ipa_proto.erl
index 3bd5754..662d60e 100644
--- a/src/ipa_proto.erl
+++ b/src/ipa_proto.erl
@@ -133,7 +133,7 @@ deliver_rx_ipa_msg(Socket, StreamID, StreamMap, DataBin) ->
DataDec = try_decode(StreamID, DataBin),
case ets:lookup(StreamMap, {Socket, StreamID}) of
[{_,{process_id, Pid}}] ->
- Pid ! {ipa, Socket, StreamID, DataDec};
+ gen_server:cast(Pid, {ipa, StreamID, DataDec});
[{_,{callback_fn, Fn, Args}}] ->
Fn(Socket, StreamID, DataDec, Args);
[] ->