fix sccp_ssn_dump.erl

This commit is contained in:
Harald Welte 2012-01-28 14:44:25 +01:00
parent 0a224539d9
commit b94e8fc96f
1 changed files with 2 additions and 2 deletions

View File

@ -32,9 +32,9 @@
start_link(Ssns) ->
gen_server:start_link(sccp_ssn_dump, [Ssns], []).
init(Ssn) when is_tuple(Ssn) ->
init([Ssn]) when is_tuple(Ssn) ->
init([Ssn]);
init(Ssns) when is_list(Ssns) ->
init([Ssns]) when is_list(Ssns) ->
bind_ssns(Ssns),
{ok, idle, #loop_dat{ssns = Ssns}}.