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

Small fixes

SVN Revision: 1849
This commit is contained in:
Pablo Polvorin 2009-01-22 22:19:03 +00:00
parent 4c61d254cc
commit d1cf37bbec
3 changed files with 10 additions and 3 deletions

View File

@ -1,3 +1,10 @@
2009-01-22 Pablo Polvorin <pablo.polvorin@process-one.net>
* src/ejabberd_sm.erl: Fix typo (node -> lnode).
* src/ejabberd_c2s.erl: Reuse the domain in binary() format to
make the jid.
2009-01-22 Jean-Sébastien Pédron <js.pedron@meetic-corp.com> 2009-01-22 Jean-Sébastien Pédron <js.pedron@meetic-corp.com>
* src/web/ejabberd_web_admin.erl, src/ejabberd_listener.erl: Fix some * src/web/ejabberd_web_admin.erl, src/ejabberd_listener.erl: Fix some

View File

@ -241,7 +241,7 @@ wait_for_stream({xmlstreamstart, #xmlel{ns = NS} = Opening}, StateData) ->
true -> true ->
Lang = exmpp_stream:get_lang(Opening), Lang = exmpp_stream:get_lang(Opening),
change_shaper(StateData, change_shaper(StateData,
exmpp_jid:make_jid(Server)), exmpp_jid:make_jid(ServerB)),
case exmpp_stream:get_version(Opening) of case exmpp_stream:get_version(Opening) of
{1, 0} -> {1, 0} ->
send_element(StateData, Header), send_element(StateData, Header),

View File

@ -384,8 +384,8 @@ code_change(_OldVsn, State, _Extra) ->
%%-------------------------------------------------------------------- %%--------------------------------------------------------------------
set_session(SID, JID, Priority, Info) -> set_session(SID, JID, Priority, Info) ->
US = {exmpp_jid:node(JID), exmpp_jid:ldomain(JID)}, US = {exmpp_jid:lnode(JID), exmpp_jid:ldomain(JID)},
USR = {exmpp_jid:node(JID), USR = {exmpp_jid:lnode(JID),
exmpp_jid:ldomain(JID), exmpp_jid:ldomain(JID),
exmpp_jid:lresource(JID)}, exmpp_jid:lresource(JID)},
F = fun() -> F = fun() ->