Skip to content

Commit

Permalink
Clean up binary syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
chrzaszcz committed Feb 3, 2022
1 parent 6babcd7 commit db060ab
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/ejabberd_s2s_in.erl
Original file line number Diff line number Diff line change
Expand Up @@ -219,8 +219,8 @@ start_stream(#{<<"version">> := <<"1.0">>, <<"from">> := RemoteServer},
cert_error => CertError}),
Res = stream_start_error(StateData,
mongoose_xmpp_errors:policy_violation(?MYLANG, CertError)),
{atomic, Pid} = ejabberd_s2s:find_connection(jid:make(<<"">>, Server, <<"">>),
jid:make(<<"">>, RemoteServer, <<"">>)),
{atomic, Pid} = ejabberd_s2s:find_connection(jid:make(<<>>, Server, <<>>),
jid:make(<<>>, RemoteServer, <<>>)),
ejabberd_s2s_out:stop_connection(Pid),
Res;
_ ->
Expand Down Expand Up @@ -331,7 +331,7 @@ stream_established({xmlstreamelement, El}, StateData) ->
Key, StateData#state.streamid}),
Conns = dict:store({LFrom, LTo}, wait_for_verification,
StateData#state.connections),
change_shaper(StateData, LTo, jid:make(<<"">>, LFrom, <<"">>)),
change_shaper(StateData, LTo, jid:make(<<>>, LFrom, <<>>)),
{next_state,
stream_established,
StateData#state{connections = Conns,
Expand Down

0 comments on commit db060ab

Please sign in to comment.