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

Fix bug of unbound variable Attrs in the previous commit.

SVN Revision: 2833
This commit is contained in:
Badlop 2009-12-28 18:47:14 +00:00
parent 381dff1afc
commit 857c87499a

View File

@ -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;