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

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

SVN Revision: 2695
This commit is contained in:
Badlop 2009-10-22 14:44:00 +00:00
parent c889491e2f
commit 5625f7d984

View File

@ -264,7 +264,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;