From 3d4f65812e315fa7df4bb5580ec80b18961aea51 Mon Sep 17 00:00:00 2001 From: Holger Weiss Date: Mon, 15 Oct 2018 23:03:53 +0200 Subject: [PATCH] ejabberd_s2s_in: Fix indentation --- src/ejabberd_s2s_in.erl | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/ejabberd_s2s_in.erl b/src/ejabberd_s2s_in.erl index e58294a16..91fadb696 100644 --- a/src/ejabberd_s2s_in.erl +++ b/src/ejabberd_s2s_in.erl @@ -188,7 +188,7 @@ handle_auth_success(RServer, Mech, _AuthModule, State0#{auth_domains => AuthDomains1}; false -> State - end, + end, ejabberd_hooks:run_fold(s2s_in_auth_result, ServerHost, State1, [true, RServer]). handle_auth_failure(RServer, Mech, Reason, @@ -221,7 +221,7 @@ handle_authenticated_packet(Pkt0, #{ip := {IP, _}} = State) -> case Pkt1 of drop -> ok; _ -> ejabberd_router:route(Pkt1) - end, + end, State2; {error, Err} -> send(State, Err) @@ -249,9 +249,9 @@ init([State, Opts]) -> (_) -> false end, Opts), TLSOpts2 = case proplists:get_bool(tls_compression, Opts) of - false -> [compression_none | TLSOpts1]; - true -> TLSOpts1 - end, + false -> [compression_none | TLSOpts1]; + true -> TLSOpts1 + end, Timeout = ejabberd_config:negotiation_timeout(), State1 = State#{tls_options => TLSOpts2, auth_domains => sets:new(), -- 2.40.0