diff options
Diffstat (limited to 'src/stringprep/stringprep_sup.erl')
-rw-r--r-- | src/stringprep/stringprep_sup.erl | 29 |
1 files changed, 3 insertions, 26 deletions
diff --git a/src/stringprep/stringprep_sup.erl b/src/stringprep/stringprep_sup.erl index 3f64a2db7..f629944c1 100644 --- a/src/stringprep/stringprep_sup.erl +++ b/src/stringprep/stringprep_sup.erl @@ -36,33 +36,10 @@ -define(SERVER, ?MODULE). -%%==================================================================== -%% API functions -%%==================================================================== -%%-------------------------------------------------------------------- -%% Function: start_link() -> {ok,Pid} | ignore | {error,Error} -%% Description: Starts the supervisor -%%-------------------------------------------------------------------- start_link() -> supervisor:start_link({local, ?SERVER}, ?MODULE, []). -%%==================================================================== -%% Supervisor callbacks -%%==================================================================== -%%-------------------------------------------------------------------- -%% Func: init(Args) -> {ok, {SupFlags, [ChildSpec]}} | -%% ignore | -%% {error, Reason} -%% Description: Whenever a supervisor is started using -%% supervisor:start_link/[2,3], this function is called by the new process -%% to find out about restart strategy, maximum restart frequency and child -%% specifications. -%%-------------------------------------------------------------------- init([]) -> - StringPrep = {stringprep, - {stringprep, start_link, []}, - permanent, - brutal_kill, - worker, - [stringprep]}, - {ok,{{one_for_all,10,1}, [StringPrep]}}. + StringPrep = {stringprep, {stringprep, start_link, []}, + permanent, brutal_kill, worker, [stringprep]}, + {ok, {{one_for_all, 10, 1}, [StringPrep]}}. |