mirror of
https://github.com/processone/ejabberd.git
synced 2024-12-24 17:29:28 +01:00
exmpp_server_sasl:next_step/1 returns the mechanism as list() again, so
the call to binary_to_list/1 isn't necessary anymore. PR: EJABP-1 SVN Revision: 1853
This commit is contained in:
parent
b5c8b99272
commit
69a2194efe
@ -4,6 +4,10 @@
|
||||
src/cyrsasl_digest.erl: Document every functions to clarify the types
|
||||
to give and returned.
|
||||
|
||||
* src/ejabberd_c2s.erl: exmpp_server_sasl:next_step/1 returns the
|
||||
mechanism as list() again, so the call to binary_to_list/1 isn't
|
||||
necessary anymore.
|
||||
|
||||
2009-01-23 Badlop <badlop@process-one.net>
|
||||
|
||||
* src/odbc/mysql.sql: Fix complain about comment syntax
|
||||
|
@ -506,7 +506,7 @@ wait_for_feature_request({xmlstreamelement, #xmlel{ns = NS, name = Name} = El},
|
||||
{?NS_SASL, 'auth'} when not ((SockMod == gen_tcp) and TLSRequired) ->
|
||||
{auth, Mech, ClientIn} = exmpp_server_sasl:next_step(El),
|
||||
case cyrsasl:server_start(StateData#state.sasl_state,
|
||||
binary_to_list(Mech),
|
||||
Mech,
|
||||
ClientIn) of
|
||||
{ok, Props} ->
|
||||
(StateData#state.sockmod):reset_stream(
|
||||
|
Loading…
Reference in New Issue
Block a user