mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-22 16:20:52 +01:00
Fix bug of unbound variable Attrs in the previous commit.
SVN Revision: 2833
This commit is contained in:
parent
381dff1afc
commit
857c87499a
@ -293,8 +293,8 @@ wait_for_stream({xmlstreamstart, Opening}, StateData) ->
|
||||
send_element(StateData, exmpp_stream:error('invalid-namespace')),
|
||||
?INFO_MSG("Closing s2s connection: ~s -> ~s (invalid namespace).~n"
|
||||
"Namespace provided: ~p~nNamespace expected: \"jabber:server\"~n"
|
||||
"xmlns:db provided: ~p~nAll attributes: ~p",
|
||||
[StateData#state.myname, StateData#state.server, NSProvided, DB, Attrs]),
|
||||
"xmlns:db provided: ~p~nFull packet: ~p",
|
||||
[StateData#state.myname, StateData#state.server, NSProvided, DB, Opening]),
|
||||
{stop, normal, StateData}
|
||||
end;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user