24
1
mirror of https://github.com/processone/ejabberd.git synced 2024-06-20 22:22:09 +02:00

Fix mistake that disallowed s2s_out connections when using Erlang R12 or older.

SVN Revision: 2694
This commit is contained in:
Badlop 2009-10-21 21:11:09 +00:00
parent 5e3fdbeeed
commit 798853abb6

View File

@ -272,7 +272,6 @@ open_socket2(Type, Addr, Port) ->
case (catch ejabberd_socket:connect(Addr, Port,
[binary, {packet, 0},
{send_timeout, ?TCP_SEND_TIMEOUT},
{send_timeout_close, true},
{active, false}, Type | SockOpts],
Timeout)) of
{ok, _Socket} = R -> R;