From 857c87499a125eb10ddc2a04399f62c6264b7341 Mon Sep 17 00:00:00 2001 From: Badlop Date: Mon, 28 Dec 2009 18:47:14 +0000 Subject: [PATCH] Fix bug of unbound variable Attrs in the previous commit. SVN Revision: 2833 --- src/ejabberd_s2s_out.erl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ejabberd_s2s_out.erl b/src/ejabberd_s2s_out.erl index d9c6ba624..ed44a7a9a 100644 --- a/src/ejabberd_s2s_out.erl +++ b/src/ejabberd_s2s_out.erl @@ -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;