mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-30 16:36:29 +01:00
Fix mistake that disallowed s2s_out connections when using Erlang R12 or older.
SVN Revision: 2695
This commit is contained in:
parent
c889491e2f
commit
5625f7d984
@ -264,7 +264,6 @@ open_socket2(Type, Addr, Port) ->
|
|||||||
case (catch ejabberd_socket:connect(Addr, Port,
|
case (catch ejabberd_socket:connect(Addr, Port,
|
||||||
[binary, {packet, 0},
|
[binary, {packet, 0},
|
||||||
{send_timeout, ?TCP_SEND_TIMEOUT},
|
{send_timeout, ?TCP_SEND_TIMEOUT},
|
||||||
{send_timeout_close, true},
|
|
||||||
{active, false}, Type | SockOpts],
|
{active, false}, Type | SockOpts],
|
||||||
Timeout)) of
|
Timeout)) of
|
||||||
{ok, _Socket} = R -> R;
|
{ok, _Socket} = R -> R;
|
||||||
|
Loading…
Reference in New Issue
Block a user