From 2129a3307793d0152b4a0658e229a25a9b80f113 Mon Sep 17 00:00:00 2001 From: Evgeniy Khramtsov Date: Wed, 11 Jan 2017 11:09:56 +0300 Subject: [PATCH] Fix attaching ejabberd_s2s_out process to a supervisor --- src/ejabberd_s2s_out.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ejabberd_s2s_out.erl b/src/ejabberd_s2s_out.erl index 6217a9f52..70ab0cfe4 100644 --- a/src/ejabberd_s2s_out.erl +++ b/src/ejabberd_s2s_out.erl @@ -56,7 +56,7 @@ start(From, To, Opts) -> case proplists:get_value(supervisor, Opts, true) of true -> supervisor:start_child(ejabberd_s2s_out_sup, - [ejabberd_socket, From, To, Opts]); + [From, To, Opts]); _ -> xmpp_stream_out:start(?MODULE, [ejabberd_socket, From, To, Opts], ejabberd_config:fsm_limit_opts([])) -- 2.40.0