From 69b5f279a19dfcb452893b86f1febd9e99e39556 Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Sat, 27 Jul 2013 10:41:04 +0800 Subject: sctp_sua: Change number of arguments to xua_asp_fsm:init() In commit eb61885c358100e0e2d73be96f9f83d96422bc3d the number of arguments to xua_asp_fsm:init() was expanded by one for the pid of the AS FSM. This change alters sctp_sua to adhere to this new list of arguments, enen though it passes 'fixme' in as the pid, as we currently don't yet fully use the xua_as_fsm module yet. --- src/sctp_sua.erl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/sctp_sua.erl b/src/sctp_sua.erl index 9b8cc96..c3ec5ef 100644 --- a/src/sctp_sua.erl +++ b/src/sctp_sua.erl @@ -56,7 +56,8 @@ init(_InitOpts) -> % start SUA ASP Fun = fun(Prim, Args) -> asp_prim_to_user(Prim, Args) end, - {ok, Asp} = gen_fsm:start_link(xua_asp_fsm, [sua_asp, [], Fun, [self()], self()], [{debug, [trace]}]), + AsPid = fixme, + {ok, Asp} = gen_fsm:start_link(xua_asp_fsm, [AsPid, sua_asp, [], Fun, [self()], self()], [{debug, [trace]}]), {ok, #sua_state{asp_pid=Asp}}. terminate(Reason, _State, _LoopDat) -> -- cgit v1.2.3