mirror of
https://github.com/processone/ejabberd.git
synced 2024-12-26 17:38:45 +01:00
Fix mistake that disallowed s2s_out connections when using Erlang R12 or older.
SVN Revision: 2694
This commit is contained in:
parent
5e3fdbeeed
commit
798853abb6
@ -272,7 +272,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