forked from erlang/signerl
transaction supervisor: properly convert name from list to atom
This commit is contained in:
parent
992982b298
commit
983e81e9e6
|
@ -54,7 +54,7 @@ gen_tsm_childspec(NSAP, USAP, TID, TCO) ->
|
|||
{Name, StartFunc, permanent, 1000, worker, [tcap_tsm_fsm]}.
|
||||
|
||||
gen_dha_sup_childspec(_NSAP, User, LocalTID, TCO) ->
|
||||
Name = "tcap_dha_" ++ integer_to_list(LocalTID),
|
||||
Name = list_to_atom("tcap_dialogue_sup_" ++ integer_to_list(LocalTID)),
|
||||
StartArgs = [{local, Name}, tcap_dialogue_sup, {User, LocalTID, TCO}],
|
||||
StartFunc = {supervisor, start_link, StartArgs},
|
||||
{dha_sup, StartFunc, permanent, 1000, worker, [tcap_dialogue_sup]}.
|
||||
|
|
Loading…
Reference in New Issue