25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-10-13 15:16:49 +02:00

* src/ejabberd_s2s_in.erl: Removed needless check for xmlns:db

when starttls is enabled

SVN Revision: 581
This commit is contained in:
Alexey Shchepin 2006-06-19 02:32:57 +00:00
parent 7d0f9ddce2
commit 2b46e3eaa7
2 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2006-06-19 Alexey Shchepin <alexey@sevcom.net>
* src/ejabberd_s2s_in.erl: Removed needless check for xmlns:db
when starttls is enabled
2006-06-15 Mickael Remond <mickael.remond@process-one.net>
* src/web/ejabberd_http_poll.erl: Bugfix: using tuple instead of a Pid

View File

@ -8,7 +8,6 @@
-module(ejabberd_s2s_in).
-author('alexey@sevcom.net').
-vsn('$Revision$ ').
-behaviour(gen_fsm).
@ -150,7 +149,7 @@ wait_for_stream({xmlstreamstart, _Name, Attrs}, StateData) ->
case {xml:get_attr_s("xmlns", Attrs),
xml:get_attr_s("xmlns:db", Attrs),
xml:get_attr_s("version", Attrs) == "1.0"} of
{"jabber:server", "jabber:server:dialback", true} when
{"jabber:server", _, true} when
StateData#state.tls and (not StateData#state.authenticated) ->
send_text(StateData, ?STREAM_HEADER(" version='1.0'")),
SASL =