25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-28 16:34:13 +01:00

Fix a typo

This commit is contained in:
Evgeniy Khramtsov 2018-05-09 09:44:26 +03:00
parent 3ac1675919
commit 11ff2a1ccf

View File

@ -41,7 +41,7 @@ start(Host) ->
Prog -> Prog ->
Pool = extauth:pool_name(Host), Pool = extauth:pool_name(Host),
ChildSpec = {Pool, {?MODULE, start_link, [Host, Prog, Pool]}, ChildSpec = {Pool, {?MODULE, start_link, [Host, Prog, Pool]},
transient, infinity, supervisor, [?MODULE]}, permanent, infinity, supervisor, [?MODULE]},
supervisor:start_child(ejabberd_backend_sup, ChildSpec) supervisor:start_child(ejabberd_backend_sup, ChildSpec)
end. end.
@ -107,4 +107,4 @@ init([Host, Prog, Pool]) ->
worker_spec(Pool, Prog, I) -> worker_spec(Pool, Prog, I) ->
Worker = extauth:worker_name(Pool, I), Worker = extauth:worker_name(Pool, I),
{Worker, {extauth, start_link, [Worker, Prog]}, {Worker, {extauth, start_link, [Worker, Prog]},
permanent, 5000, worker, [extauth]}. transient, 5000, worker, [extauth]}.